From: Scott Armitage Date: Wed, 12 Sep 2012 21:23:37 +0000 (+0200) Subject: Minor Fix to policy.d/operator-name X-Git-Tag: release_3_0_0_beta1~1662^2~2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ad4faac350ba983f26fd57cb4ce53eddc93aff0;p=thirdparty%2Ffreeradius-server.git Minor Fix to policy.d/operator-name fixed Packet-Type unlang match --- diff --git a/raddb/policy.d/operator-name b/raddb/policy.d/operator-name index 3909ccfbae2..afd996181cb 100644 --- a/raddb/policy.d/operator-name +++ b/raddb/policy.d/operator-name @@ -38,7 +38,7 @@ operator-name.authorize { # attribute identifying this site if the operator-name is found for this client # operator-name.pre-proxy { - if (Packet-Type == Access-Request && "%{client:Operator-Name}") { + if ("%{request:Packet-Type}" == "Access-Request" && "%{client:Operator-Name}") { update proxy-request { Operator-Name := "%{client:Operator-Name}" }