]> git.puffer.fish Git - matthieu/frr.git/commitdiff
zebra: return CMD_SUCCESS when enabling debugs
authorDaniel Walton <dwalton@cumulusnetworks.com>
Tue, 19 Sep 2017 14:01:28 +0000 (14:01 +0000)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Tue, 19 Sep 2017 14:01:28 +0000 (14:01 +0000)
zebra/debug.c

index afeba1c6dea19f090e136b0096e156a5123e07ee..74594defcb98ad5229742bc0c6168cffb20ebf5c 100644 (file)
@@ -97,7 +97,7 @@ DEFUN (debug_zebra_events,
        "Debug option set for zebra events\n")
 {
        zebra_debug_event = ZEBRA_DEBUG_EVENT;
-       return CMD_WARNING_CONFIG_FAILED;
+       return CMD_SUCCESS;
 }
 
 DEFUN (debug_zebra_nht,
@@ -108,7 +108,7 @@ DEFUN (debug_zebra_nht,
        "Debug option set for zebra next hop tracking\n")
 {
        zebra_debug_nht = ZEBRA_DEBUG_NHT;
-       return CMD_WARNING_CONFIG_FAILED;
+       return CMD_SUCCESS;
 }
 
 DEFUN (debug_zebra_mpls,
@@ -119,7 +119,7 @@ DEFUN (debug_zebra_mpls,
        "Debug option set for zebra MPLS LSPs\n")
 {
        zebra_debug_mpls = ZEBRA_DEBUG_MPLS;
-       return CMD_WARNING_CONFIG_FAILED;
+       return CMD_SUCCESS;
 }
 
 DEFUN (debug_zebra_vxlan,
@@ -130,7 +130,7 @@ DEFUN (debug_zebra_vxlan,
        "Debug option set for zebra VxLAN (EVPN)\n")
 {
        zebra_debug_vxlan = ZEBRA_DEBUG_VXLAN;
-       return CMD_WARNING;
+       return CMD_SUCCESS;
 }
 
 DEFUN (debug_zebra_pw,
@@ -145,7 +145,7 @@ DEFUN (debug_zebra_pw,
                UNSET_FLAG(zebra_debug_pw, ZEBRA_DEBUG_PW);
        else
                SET_FLAG(zebra_debug_pw, ZEBRA_DEBUG_PW);
-       return CMD_WARNING;
+       return CMD_SUCCESS;
 }
 
 DEFUN (debug_zebra_packet,