summaryrefslogtreecommitdiff
path: root/nest
diff options
context:
space:
mode:
authorMaria Matejka <mq@jmq.cz>2019-07-03 08:13:07 +0200
committerMaria Matejka <mq@jmq.cz>2019-07-03 08:27:56 +0200
commit84ac62d3967f5294f4dc208b803a273a101744a8 (patch)
tree411eb271d89924466c2d77476f503a6d62927389 /nest
parent0206c070ace90c48a806a74fac52ba6e6ff9858b (diff)
Filter: CLI command to dump all the linearized filters
Diffstat (limited to 'nest')
-rw-r--r--nest/config.Y2
1 files changed, 2 insertions, 0 deletions
diff --git a/nest/config.Y b/nest/config.Y
index 430c9f29..e97b8fb3 100644
--- a/nest/config.Y
+++ b/nest/config.Y
@@ -731,6 +731,8 @@ CF_CLI(DUMP ROUTES,,, [[Dump routing table]])
{ rt_dump_all(); cli_msg(0, ""); } ;
CF_CLI(DUMP PROTOCOLS,,, [[Dump protocol information]])
{ protos_dump_all(); cli_msg(0, ""); } ;
+CF_CLI(DUMP FILTER ALL,,, [[Dump all filters in linearized form]])
+{ filters_dump_all(); cli_msg(0, ""); } ;
CF_CLI(EVAL, term, <expr>, [[Evaluate an expression]])
{ cmd_eval(f_linearize($2)); } ;