Files
packages/net/radsecproxy/patches/200-logdest-on-foreground.patch
T
Alexandru Ardelean bd66f3b4a1 radsecproxy: update to 1.11.2
Changes since 1.9.1:
- Add TLS-PSK support and SSLKEYLOGFILE mechanism (1.11.0)
- Add options to require Message-Authenticator attribute (1.11.0)
- Add native dynamic discovery for NAPTR and SRV records (1.10.0)
- Add SNI support for outgoing TLS connections (1.10.0)
- Multiple TCP/TLS connection stability bug fixes (1.10.x)
- Reload complete TLS context on SIGHUP (1.11.0)
- Fix Message-Authenticator validation for Accounting-Response (1.11.2)

Update patch 200-logdest-on-foreground.patch for new code positions.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-14 15:39:33 +03:00

27 lines
1.1 KiB
Diff

--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -3637,16 +3637,13 @@ int radsecproxy_main(int argc, char **ar
options.loglevel = loglevel;
else if (options.loglevel)
debug_set_level(options.loglevel);
- if (!foreground) {
- debug_set_destination(options.logdestination
- ? options.logdestination
- : "x-syslog:///",
- LOG_TYPE_DEBUG);
- if (options.ftickssyslogfacility) {
- debug_set_destination(options.ftickssyslogfacility,
- LOG_TYPE_FTICKS);
- free(options.ftickssyslogfacility);
- }
+ debug_set_destination(options.logdestination
+ ? options.logdestination
+ : "x-syslog:///", LOG_TYPE_DEBUG);
+ if (options.ftickssyslogfacility) {
+ debug_set_destination(options.ftickssyslogfacility,
+ LOG_TYPE_FTICKS);
+ free(options.ftickssyslogfacility);
}
free(options.logdestination);
if (options.logtid)