]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
rlm_unix Fix wrong data-type of Acct-Delay-Time. (#4232)
authorJorge Pereira <jpereira@users.noreply.github.com>
Fri, 17 Sep 2021 15:40:38 +0000 (12:40 -0300)
committerGitHub <noreply@github.com>
Fri, 17 Sep 2021 15:40:38 +0000 (11:40 -0400)
doc/ChangeLog
src/modules/rlm_unix/rlm_unix.c

index d2eb91f089a93d0d506b5e79326f30bc750025b7..dcccb2edebeb8e221c16895af8756f724d865e02 100644 (file)
@@ -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
index 26e8e4c1c2b6e4f589e153c3c6c83ae58dcd481f..229644fe9561ddd23c8b23537f00c9f16eafdd64 100644 (file)
@@ -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;
                }
        }