summaryrefslogtreecommitdiffstats
path: root/ripd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-07-24 22:00:20 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-07-24 22:00:20 +0200
commit9c9d843baa9b8320f22f5976b2d0b79753dd202e (patch)
tree044406f2541c450fb240d8da308fa5721787f9bd /ripd
parentripngd: Fix failure returned with some debug commands (diff)
downloadfrr-9c9d843baa9b8320f22f5976b2d0b79753dd202e.tar.xz
frr-9c9d843baa9b8320f22f5976b2d0b79753dd202e.zip
ripd: Fix debug config failures
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ripd')
-rw-r--r--ripd/rip_debug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ripd/rip_debug.c b/ripd/rip_debug.c
index b2c80817d..492d03699 100644
--- a/ripd/rip_debug.c
+++ b/ripd/rip_debug.c
@@ -66,7 +66,7 @@ DEFUN (debug_rip_events,
"RIP events\n")
{
rip_debug_event = RIP_DEBUG_EVENT;
- return CMD_WARNING_CONFIG_FAILED;
+ return CMD_SUCCESS;
}
DEFUN (debug_rip_packet,
@@ -112,7 +112,7 @@ DEFUN (debug_rip_zebra,
"RIP and ZEBRA communication\n")
{
rip_debug_zebra = RIP_DEBUG_ZEBRA;
- return CMD_WARNING_CONFIG_FAILED;
+ return CMD_SUCCESS;
}
DEFUN (no_debug_rip_events,
@@ -177,7 +177,7 @@ DEFUN (no_debug_rip_zebra,
"RIP and ZEBRA communication\n")
{
rip_debug_zebra = 0;
- return CMD_WARNING_CONFIG_FAILED;
+ return CMD_SUCCESS;
}
/* Debug node. */