summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_debug.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-10-07 13:51:17 +0200
committerDonald Sharp <sharpd@nvidia.com>2022-10-07 18:39:05 +0200
commitcf00164b69743b541505da8301a340d5dd9154ce (patch)
tree7f3c3e7c8a290c5d2a55f7e364089eb02b8d5e06 /bgpd/bgp_debug.c
parentMerge pull request #12034 from opensourcerouting/fix/gr_hard_notification (diff)
downloadfrr-cf00164b69743b541505da8301a340d5dd9154ce.tar.xz
frr-cf00164b69743b541505da8301a340d5dd9154ce.zip
*: Create and use infrastructure to show debugs in lib
There are lib debugs being set but never show up in `show debug` commands because there was no way to show that they were being used. Add a bit of infrastructure to allow this and then use it for `debug route-map` Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'bgpd/bgp_debug.c')
-rw-r--r--bgpd/bgp_debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bgpd/bgp_debug.c b/bgpd/bgp_debug.c
index df7262be6..264dd85fb 100644
--- a/bgpd/bgp_debug.c
+++ b/bgpd/bgp_debug.c
@@ -2278,6 +2278,8 @@ DEFUN_NOSH (show_debugging_bgp,
vty_out(vty,
" BGP conditional advertisement debugging is on\n");
+ cmd_show_lib_debugs(vty);
+
return CMD_SUCCESS;
}