From: Jorge Pereira Date: Sun, 4 Oct 2015 07:15:41 +0000 (-0300) Subject: Adding 'coa' list in 'debug_all' policy X-Git-Tag: release_3_0_10~11^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aee0d9194abd7127b9cc8588cfdbb882bae54482;p=thirdparty%2Ffreeradius-server.git Adding 'coa' list in 'debug_all' policy --- diff --git a/raddb/policy.d/debug b/raddb/policy.d/debug index 75a0757ad30..3cc8042073a 100644 --- a/raddb/policy.d/debug +++ b/raddb/policy.d/debug @@ -16,6 +16,15 @@ debug_request { } } +# +# Outputs the contents of the coa list in debugging (-X) mode +# +debug_coa { + if("%{debug_attr:coa:}" == '') { + noop + } +} + # # Outputs the contents of the reply list in debugging (-X) mode # @@ -40,6 +49,7 @@ debug_session_state { debug_all { debug_control debug_request + debug_coa debug_reply debug_session_state }