From 26dd61ee7f91c15157601b2404de5b6500a6061c Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Mon, 4 Mar 2024 23:20:53 +0100 Subject: BFD: Add arguments to 'show bfd sessions' command Add several arguments to 'show bfd sessions' command to filter the list of sessions. --- conf/confbase.Y | 1 + doc/bird.sgml | 5 +++-- proto/bfd/bfd.c | 17 +++++++++++++---- proto/bfd/bfd.h | 13 ++++++++++++- proto/bfd/config.Y | 34 ++++++++++++++++++---------------- 5 files changed, 47 insertions(+), 23 deletions(-) diff --git a/conf/confbase.Y b/conf/confbase.Y index b2471198..ed3c1e6e 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -89,6 +89,7 @@ CF_DECLS struct lsadb_show_data *ld; struct mrt_dump_data *md; struct mpls_show_ranges_cmd *msrc; + struct bfd_show_sessions_cmd *bssc; struct iface *iface; void *g; btime time; diff --git a/doc/bird.sgml b/doc/bird.sgml index aeecb1dc..ced927d4 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -1288,8 +1288,9 @@ This argument can be omitted if there exists only a single instance.