mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
bd66f3b4a1
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>
27 lines
1.1 KiB
Diff
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)
|