summaryrefslogtreecommitdiffstats
path: root/zebra/debug.c
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2017-09-19 16:01:28 +0200
committerDaniel Walton <dwalton@cumulusnetworks.com>2017-09-19 16:01:28 +0200
commit8527ce3a31d1ea366b1dec107ebe06cbc6beef59 (patch)
tree63c880299928e6cae829f4e475c6ed61d0824d1d /zebra/debug.c
parenttools: frr-reload capture stderr so we can log it (diff)
downloadfrr-8527ce3a31d1ea366b1dec107ebe06cbc6beef59.tar.xz
frr-8527ce3a31d1ea366b1dec107ebe06cbc6beef59.zip
zebra: return CMD_SUCCESS when enabling debugs
Diffstat (limited to 'zebra/debug.c')
-rw-r--r--zebra/debug.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/zebra/debug.c b/zebra/debug.c
index afeba1c6d..74594defc 100644
--- a/zebra/debug.c
+++ b/zebra/debug.c
@@ -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,