summaryrefslogtreecommitdiff
path: root/proto/bfd/config.Y
diff options
context:
space:
mode:
authorKaterina Kubecova <katerina.kubecova@nic.cz>2024-01-16 11:02:22 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2024-03-04 23:35:10 +0100
commit37bf2078434b5de5662d28345bce788624d50ac7 (patch)
tree2342ebf3f276532e1f0a634b8e2e0794df204d70 /proto/bfd/config.Y
parente2728c8078161d9811d6c24a11e4c95efd1c9313 (diff)
BFD: show bfd sessions all
Diffstat (limited to 'proto/bfd/config.Y')
-rw-r--r--proto/bfd/config.Y5
1 files changed, 4 insertions, 1 deletions
diff --git a/proto/bfd/config.Y b/proto/bfd/config.Y
index d9a154b2..41f8cbdf 100644
--- a/proto/bfd/config.Y
+++ b/proto/bfd/config.Y
@@ -184,7 +184,10 @@ bfd_neighbor: ipa bfd_neigh_iface bfd_neigh_local bfd_neigh_multihop
CF_CLI_HELP(SHOW BFD, ..., [[Show information about BFD protocol]]);
CF_CLI(SHOW BFD SESSIONS, optproto, [<name>], [[Show information about BFD sessions]])
-{ PROTO_WALK_CMD($4, &proto_bfd, p) bfd_show_sessions(p); };
+{ PROTO_WALK_CMD($4, &proto_bfd, p) bfd_show_sessions(p, 0); };
+
+CF_CLI(SHOW BFD SESSIONS ALL, optproto, [<name>], [[Show information about BFD sessions]])
+{ PROTO_WALK_CMD($5, &proto_bfd, p) bfd_show_sessions(p, 1); };
CF_CODE