ripd: Fix debug config failures

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2017-07-24 16:00:20 -04:00
parent 40e344cc4b
commit 9c9d843baa

View File

@ -66,7 +66,7 @@ DEFUN (debug_rip_events,
"RIP events\n") "RIP events\n")
{ {
rip_debug_event = RIP_DEBUG_EVENT; rip_debug_event = RIP_DEBUG_EVENT;
return CMD_WARNING_CONFIG_FAILED; return CMD_SUCCESS;
} }
DEFUN (debug_rip_packet, DEFUN (debug_rip_packet,
@ -112,7 +112,7 @@ DEFUN (debug_rip_zebra,
"RIP and ZEBRA communication\n") "RIP and ZEBRA communication\n")
{ {
rip_debug_zebra = RIP_DEBUG_ZEBRA; rip_debug_zebra = RIP_DEBUG_ZEBRA;
return CMD_WARNING_CONFIG_FAILED; return CMD_SUCCESS;
} }
DEFUN (no_debug_rip_events, DEFUN (no_debug_rip_events,
@ -177,7 +177,7 @@ DEFUN (no_debug_rip_zebra,
"RIP and ZEBRA communication\n") "RIP and ZEBRA communication\n")
{ {
rip_debug_zebra = 0; rip_debug_zebra = 0;
return CMD_WARNING_CONFIG_FAILED; return CMD_SUCCESS;
} }
/* Debug node. */ /* Debug node. */