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://www.project-moonshot.org/gitweb/?p=freeradius.git;a=commitdiff_plain;h=aee0d9194abd7127b9cc8588cfdbb882bae54482 Adding 'coa' list in 'debug_all' policy --- diff --git a/raddb/policy.d/debug b/raddb/policy.d/debug index 75a0757..3cc8042 100644 --- a/raddb/policy.d/debug +++ b/raddb/policy.d/debug @@ -17,6 +17,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 # debug_reply { @@ -40,6 +49,7 @@ debug_session_state { debug_all { debug_control debug_request + debug_coa debug_reply debug_session_state }