]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
use correct data type.
authorAlan T. DeKok <aland@freeradius.org>
Fri, 17 Sep 2021 15:42:04 +0000 (11:42 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 17 Sep 2021 15:42:04 +0000 (11:42 -0400)
Manual port of commit 622be93

src/modules/rlm_unix/rlm_unix.c

index e01b8f341c609d201a635351165f9e3f600297c9..e3324fb7f82078680e2f84c0fe3f59f4b5a865d6 100644 (file)
@@ -425,7 +425,7 @@ static unlang_action_t CC_HINT(nonnull) mod_accounting(rlm_rcode_t *p_result, mo
                        port_seen = true;
 
                } else if (vp->da == attr_acct_delay_time) {
-                       delay = vp->vp_ipv4addr;
+                       delay = vp->vp_uint32;
                }
        }