From 622be9361649f95d0df3b2bf543825bda3bf7653 Mon Sep 17 00:00:00 2001 From: Jorge Pereira Date: Fri, 17 Sep 2021 12:40:38 -0300 Subject: [PATCH] rlm_unix Fix wrong data-type of Acct-Delay-Time. (#4232) --- doc/ChangeLog | 1 + src/modules/rlm_unix/rlm_unix.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/ChangeLog b/doc/ChangeLog index d2eb91f089..dcccb2edeb 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -45,6 +45,7 @@ FreeRADIUS 3.0.24 Thu 10 Jun 2021 12:00:00 EDT urgency=low * Add 'weeklycounter' for rlm_sqlcounter. * Outbound proxying over TCP / TLS is better able to deal with partial TCP reads, and has fewer issues with slow networks. + * Fix wrong data-type of Acct-Delay-Time in rlm_unix. FreeRADIUS 3.0.23 Thu 10 Jun 2021 12:00:00 EDT urgency=low Feature improvements diff --git a/src/modules/rlm_unix/rlm_unix.c b/src/modules/rlm_unix/rlm_unix.c index 26e8e4c1c2..229644fe95 100644 --- a/src/modules/rlm_unix/rlm_unix.c +++ b/src/modules/rlm_unix/rlm_unix.c @@ -446,7 +446,7 @@ static rlm_rcode_t CC_HINT(nonnull) mod_accounting(void *instance, REQUEST *requ break; case PW_ACCT_DELAY_TIME: - delay = vp->vp_ipaddr; + delay = vp->vp_integer; break; } } -- 2.47.2