]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Record file destination from config into default_log
authorNick Porter <nick@portercomputing.co.uk>
Tue, 25 Jul 2023 12:38:48 +0000 (13:38 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Tue, 25 Jul 2023 12:38:48 +0000 (13:38 +0100)
Needed so that each destination created from default_log knows what file
to use.

src/lib/server/main_config.c

index 6b62fca5c39bfae6f92ba9f2f898f72996cfdf3e..ed3d60583a4253deb49c3080242151819b498390 100644 (file)
@@ -1296,6 +1296,7 @@ do {\
                                        config->name);
                                goto failure;
                        }
+                       default_log.file = config->log_file;
                        break;
 
                default: