Skip to content

Commit

Permalink
Merge pull request #87 from armitasp/master
Browse files Browse the repository at this point in the history
Minor policy.d/operator-name fix
  • Loading branch information
arr2036 committed Oct 4, 2012
2 parents 15605a7 + 8ad4faa commit 150632f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion raddb/policy.d/operator-name
Expand Up @@ -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}"
}
Expand Down

0 comments on commit 150632f

Please sign in to comment.