From aee0d9194abd7127b9cc8588cfdbb882bae54482 Mon Sep 17 00:00:00 2001 From: Jorge Pereira Date: Sun, 4 Oct 2015 04:15:41 -0300 Subject: [PATCH] Adding 'coa' list in 'debug_all' policy --- raddb/policy.d/debug | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 } -- 2.1.4