summaryrefslogtreecommitdiffstats
path: root/ripngd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-07-24 21:59:36 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-07-24 21:59:36 +0200
commit40e344cc4bc4c6da92d213302231cce77edf596e (patch)
tree078229b6cb7116944fe78fe10f5e0280097814e6 /ripngd
parent*: fix git-reindent-branch.py reversing order (diff)
downloadfrr-40e344cc4bc4c6da92d213302231cce77edf596e.tar.xz
frr-40e344cc4bc4c6da92d213302231cce77edf596e.zip
ripngd: Fix failure returned with some debug commands
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ripngd')
-rw-r--r--ripngd/ripng_debug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ripngd/ripng_debug.c b/ripngd/ripng_debug.c
index 5d7a2cf9f..d56161d39 100644
--- a/ripngd/ripng_debug.c
+++ b/ripngd/ripng_debug.c
@@ -67,7 +67,7 @@ DEFUN (debug_ripng_events,
"Debug option set for ripng events\n")
{
ripng_debug_event = RIPNG_DEBUG_EVENT;
- return CMD_WARNING_CONFIG_FAILED;
+ return CMD_SUCCESS;
}
DEFUN (debug_ripng_packet,
@@ -114,7 +114,7 @@ DEFUN (debug_ripng_zebra,
"Debug option set for ripng and zebra communication\n")
{
ripng_debug_zebra = RIPNG_DEBUG_ZEBRA;
- return CMD_WARNING_CONFIG_FAILED;
+ return CMD_SUCCESS;
}
DEFUN (no_debug_ripng_events,
@@ -179,7 +179,7 @@ DEFUN (no_debug_ripng_zebra,
"Debug option set for ripng and zebra communication\n")
{
ripng_debug_zebra = 0;
- return CMD_WARNING_CONFIG_FAILED;
+ return CMD_SUCCESS;
}
/* Debug node. */