]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Correct syntax of debug_ policies
authorNick Porter <nick@portercomputing.co.uk>
Tue, 10 Jan 2023 11:50:16 +0000 (11:50 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Tue, 10 Jan 2023 11:50:16 +0000 (11:50 +0000)
raddb/policy.d/debug
src/tests/keywords/policy.conf

index fe634ceb6f1b2543fd76f71cbb4896ea92ece196..08b4491890ff070fe2622554435829e0e11f6289 100644 (file)
@@ -20,7 +20,7 @@ debug_request {
 #  Outputs the contents of the coa list in debugging (-X) mode
 #
 debug_coa {
-       if ("%(debug_attr:coa:[*])" == '') {
+       if ("%(debug_attr:coa[*])" == '') {
                noop
        }
 }
index e595d5bf33ae6058abca484dae9974c080d53227..38fda3baa35afca14a0f309cc587eaf70a1686ec 100644 (file)
@@ -6,7 +6,7 @@
 #  Outputs the contents of the control list in debugging (-X) mode
 #
 debug_control {
-       if("%(debug_attr:control.[*])" == '') {
+       if("%(debug_attr:control[*])" == '') {
                noop
        }
 }
@@ -15,7 +15,7 @@ debug_control {
 #  Outputs the contents of the request list in debugging (-X) mode
 #
 debug_request {
-       if("%(debug_attr:request.[*])" == '') {
+       if("%(debug_attr:request[*])" == '') {
                noop
        }
 }
@@ -24,7 +24,7 @@ debug_request {
 #  Outputs the contents of the reply list in debugging (-X) mode
 #
 debug_reply {
-       if("%(debug_attr:reply.[*])" == '') {
+       if("%(debug_attr:reply[*])" == '') {
                noop
        }
 }