summaryrefslogtreecommitdiff
path: root/sharpd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-10-07 07:51:17 -0400
committerDonald Sharp <sharpd@nvidia.com>2022-10-07 12:39:05 -0400
commitcf00164b69743b541505da8301a340d5dd9154ce (patch)
tree7f3c3e7c8a290c5d2a55f7e364089eb02b8d5e06 /sharpd
parenta00621d8b90cb1ddb91557f778c56b89a0b6e1ac (diff)
*: 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 'sharpd')
-rw-r--r--sharpd/sharp_vty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sharpd/sharp_vty.c b/sharpd/sharp_vty.c
index 3853df7cb0..9b900fccd2 100644
--- a/sharpd/sharp_vty.c
+++ b/sharpd/sharp_vty.c
@@ -615,6 +615,8 @@ DEFUN_NOSH (show_debugging_sharpd,
{
vty_out(vty, "Sharp debugging status:\n");
+ cmd_show_lib_debugs(vty);
+
return CMD_SUCCESS;
}