From: Arran Cudbard-Bell Date: Tue, 13 Jan 2026 15:07:15 +0000 (-0800) Subject: linelog: Complete the fr_time_delta_t refactor and set the default timeout value... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38df0dfb68cb4d9090ab152a055ba96ab355cf5e;p=thirdparty%2Ffreeradius-server.git linelog: Complete the fr_time_delta_t refactor and set the default timeout value for TCP and UDP linelog requests to "1s" instead of "1000s". Previous the unit was MS *sigh*. --- diff --git a/src/modules/rlm_linelog/rlm_linelog.c b/src/modules/rlm_linelog/rlm_linelog.c index c4ff89cfba3..bfb5f538843 100644 --- a/src/modules/rlm_linelog/rlm_linelog.c +++ b/src/modules/rlm_linelog/rlm_linelog.c @@ -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 };