diff options
Diffstat (limited to 'proto/bfd/config.Y')
-rw-r--r-- | proto/bfd/config.Y | 5 |
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 |