From: Alan T. DeKok Date: Thu, 30 Jun 2022 11:46:11 +0000 (-0400) Subject: we don't need \ at EOL X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=900e8b0c4759f88446cff3c2a122ad1a5785e044;p=thirdparty%2Ffreeradius-server.git we don't need \ at EOL this should arguably be an error --- diff --git a/raddb/policy.d/cui b/raddb/policy.d/cui index b26821e9eb3..4cfbc68ea2d 100644 --- a/raddb/policy.d/cui +++ b/raddb/policy.d/cui @@ -54,7 +54,7 @@ cui.authorize { # use_tunneled_reply parameter MUST be set to yes # cui.post-auth { - if (!&control.Proxy-To-Realm && &Chargeable-User-Identity && !&reply.Chargeable-User-Identity && \ + if (!&control.Proxy-To-Realm && &Chargeable-User-Identity && !&reply.Chargeable-User-Identity && (&Operator-Name || ('${policy.cui_require_operator_name}' != 'yes')) ) { update reply { &Chargeable-User-Identity = "%{sha1:${policy.cui_hash_key}%{tolower:%{User-Name}%{%{Operator-Name}:-}}}"