]> git.proxmox.com Git - mirror_frr.git/blobdiff - ripngd/ripng_debug.c
ripngd: Fix failure returned with some debug commands
[mirror_frr.git] / ripngd / ripng_debug.c
index 5d7a2cf9ff8d6bda310dc5dfd3459d46e4ef08c6..d56161d39e19aff0f88f3ecef78280f9637ee7a0 100644 (file)
@@ -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. */