]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
linelog: Complete the fr_time_delta_t refactor and set the default timeout value...
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 13 Jan 2026 15:07:15 +0000 (07:07 -0800)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 13 Jan 2026 15:07:30 +0000 (07:07 -0800)
src/modules/rlm_linelog/rlm_linelog.c

index c4ff89cfba38e032c1bf59d8c3303332c9049c0f..bfb5f53884338f618deb20dd2abe1305c984a3db 100644 (file)
@@ -164,14 +164,14 @@ static const conf_parser_t unix_config[] = {
 static const conf_parser_t udp_config[] = {
        { FR_CONF_OFFSET_TYPE_FLAGS("server", FR_TYPE_COMBO_IP_ADDR, 0, linelog_net_t, dst_ipaddr) },
        { FR_CONF_OFFSET("port", linelog_net_t, port) },
-       { FR_CONF_OFFSET("timeout", linelog_net_t, timeout), .dflt = "1000" },
+       { FR_CONF_OFFSET("timeout", linelog_net_t, timeout), .dflt = "1s" },
        CONF_PARSER_TERMINATOR
 };
 
 static const conf_parser_t tcp_config[] = {
        { FR_CONF_OFFSET_TYPE_FLAGS("server", FR_TYPE_COMBO_IP_ADDR, 0, linelog_net_t, dst_ipaddr) },
        { FR_CONF_OFFSET("port", linelog_net_t, port) },
-       { FR_CONF_OFFSET("timeout", linelog_net_t, timeout), .dflt = "1000" },
+       { FR_CONF_OFFSET("timeout", linelog_net_t, timeout), .dflt = "1s" },
        CONF_PARSER_TERMINATOR
 };