From: Nick Porter Date: Tue, 10 Jan 2023 11:50:16 +0000 (+0000) Subject: Correct syntax of debug_ policies X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de8f5ffaf2867fbca7826db3bcc146c7434bae3e;p=thirdparty%2Ffreeradius-server.git Correct syntax of debug_ policies --- diff --git a/raddb/policy.d/debug b/raddb/policy.d/debug index fe634ceb6f1..08b4491890f 100644 --- a/raddb/policy.d/debug +++ b/raddb/policy.d/debug @@ -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 } } diff --git a/src/tests/keywords/policy.conf b/src/tests/keywords/policy.conf index e595d5bf33a..38fda3baa35 100644 --- a/src/tests/keywords/policy.conf +++ b/src/tests/keywords/policy.conf @@ -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 } }