From: Jorge Pereira Date: Thu, 21 Oct 2021 14:17:48 +0000 (-0300) Subject: Fix acct_unique policy (#4278) (#4280) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3136024b1fd19dd4f592d0f4b2f2fc8c8ae61563;p=thirdparty%2Ffreeradius-server.git Fix acct_unique policy (#4278) (#4280) As the 'acct_unique' is setting the request:Tmp-String-9, then we should unset it! --- diff --git a/raddb/policy.d/accounting b/raddb/policy.d/accounting index ba4ad2e6b57..38789616a99 100644 --- a/raddb/policy.d/accounting +++ b/raddb/policy.d/accounting @@ -68,6 +68,10 @@ acct_unique { &Acct-Unique-Session-Id := "%{hex:%{md5:%{string:%{User-Name},%{Acct-Multi-Session-ID},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}}}" } } + + update request { + &Tmp-String-9 !* ANY + } } #