forked from Mirror/frr
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>
This commit is contained in:
parent
07d3f521d2
commit
e1c3bf2477
|
@ -31,6 +31,16 @@
|
||||||
pid_t integrated_write_pid;
|
pid_t integrated_write_pid;
|
||||||
static int integrated_result_fd;
|
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,
|
DEFUN(config_write_integrated,
|
||||||
config_write_integrated_cmd,
|
config_write_integrated_cmd,
|
||||||
"write integrated",
|
"write integrated",
|
||||||
|
@ -134,4 +144,5 @@ void watchfrr_vty_init(void)
|
||||||
{
|
{
|
||||||
integrated_write_pid = -1;
|
integrated_write_pid = -1;
|
||||||
install_element(ENABLE_NODE, &config_write_integrated_cmd);
|
install_element(ENABLE_NODE, &config_write_integrated_cmd);
|
||||||
|
install_element(ENABLE_NODE, &show_watchfrr_debugging_cmd);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue