diff options
author | David Lamparter <equinox@diac24.net> | 2018-09-08 17:38:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-08 17:38:48 +0200 |
commit | 6317894ef3c5f5a21cca00c3a851f13b2d81541b (patch) | |
tree | 7ee39a09dca1c8d7551e55c2941a95d78f054db2 /sharpd | |
parent | Merge pull request #2988 from donaldsharp/more_debugs (diff) | |
parent | sharpd: Fix missing 'show debug' command (diff) | |
download | frr-6317894ef3c5f5a21cca00c3a851f13b2d81541b.tar.xz frr-6317894ef3c5f5a21cca00c3a851f13b2d81541b.zip |
Merge pull request #2989 from donaldsharp/static_debug
Static debug
Diffstat (limited to 'sharpd')
-rw-r--r-- | sharpd/sharp_vty.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sharpd/sharp_vty.c b/sharpd/sharp_vty.c index 9462eb575..797e336c2 100644 --- a/sharpd/sharp_vty.c +++ b/sharpd/sharp_vty.c @@ -191,6 +191,18 @@ DEFPY (remove_routes, return CMD_SUCCESS; } +DEFUN_NOSH (show_debugging_sharpd, + show_debugging_sharpd_cmd, + "show debugging [sharp]", + SHOW_STR + DEBUG_STR + "Sharp Information\n") +{ + vty_out(vty, "Sharp debugging status\n"); + + return CMD_SUCCESS; +} + void sharp_vty_init(void) { install_element(ENABLE_NODE, &install_routes_cmd); @@ -198,5 +210,8 @@ void sharp_vty_init(void) install_element(ENABLE_NODE, &vrf_label_cmd); install_element(ENABLE_NODE, &watch_nexthop_v6_cmd); install_element(ENABLE_NODE, &watch_nexthop_v4_cmd); + + install_element(VIEW_NODE, &show_debugging_sharpd_cmd); + return; } |