diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-09-26 16:29:31 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-09-26 16:29:31 -0400 |
| commit | e1c3bf2477146386f71cb15503527d0fb7da7ce0 (patch) | |
| tree | f6bcbacf625b690a781752eef3738cf81ff566fc | |
| parent | 07d3f521d2f6ee8ce3e7e8dbed255a0cc3ed18f4 (diff) | |
watchfrr: Add a empty 'show debug..' command
Allow watchfrr to silently ignore a 'show debug..' command
for the moment.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
| -rw-r--r-- | watchfrr/watchfrr_vty.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/watchfrr/watchfrr_vty.c b/watchfrr/watchfrr_vty.c index 9cfdab44ab..fd9c017512 100644 --- a/watchfrr/watchfrr_vty.c +++ b/watchfrr/watchfrr_vty.c @@ -31,6 +31,16 @@ pid_t integrated_write_pid; static int integrated_result_fd; +DEFUN_NOSH(show_watchfrr_debugging, + show_watchfrr_debugging_cmd, + "show debugging [watchfrr]", + SHOW_STR + DEBUG_STR + "WatchFRR\n") +{ + return CMD_SUCCESS; +} + DEFUN(config_write_integrated, config_write_integrated_cmd, "write integrated", @@ -134,4 +144,5 @@ void watchfrr_vty_init(void) { integrated_write_pid = -1; install_element(ENABLE_NODE, &config_write_integrated_cmd); + install_element(ENABLE_NODE, &show_watchfrr_debugging_cmd); } |
