75a0757ad303f0c1c747b351b7f51a019010f8ce
[freeradius.git] / raddb / policy.d / debug
1 #
2 #  Outputs the contents of the control list in debugging (-X) mode
3 #
4 debug_control {
5         if("%{debug_attr:control:}" == '') {
6                 noop
7         }
8 }
9
10 #
11 #  Outputs the contents of the request list in debugging (-X) mode
12 #
13 debug_request {
14         if("%{debug_attr:request:}" == '') {
15                 noop
16         }
17 }
18
19 #
20 #  Outputs the contents of the reply list in debugging (-X) mode
21 #
22 debug_reply {
23         if("%{debug_attr:reply:}" == '') {
24                 noop
25         }
26 }
27
28 #
29 #  Outputs the contents of the session state list in debugging (-X) mode
30 #
31 debug_session_state {
32         if("%{debug_attr:session-state:}" == '') {
33                 noop
34         }
35 }
36
37 #
38 #  Outputs the contents of the main lists in debugging (-X) mode
39 #
40 debug_all {
41         debug_control
42         debug_request
43         debug_reply
44         debug_session_state
45 }