summaryrefslogtreecommitdiff
path: root/bgpd/bgp_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_debug.c')
-rw-r--r--bgpd/bgp_debug.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/bgpd/bgp_debug.c b/bgpd/bgp_debug.c
index 5538402070..78a337bd8f 100644
--- a/bgpd/bgp_debug.c
+++ b/bgpd/bgp_debug.c
@@ -963,7 +963,7 @@ DEFUN (no_debug_bgp_bestpath_prefix,
{
prefix_free(argv_p);
vty_outln (vty, "%% Malformed Prefix");
- return CMD_WARNING;
+ return CMD_WARNING_CONFIG_FAILED;
}
if (bgp_debug_bestpath_prefixes && !list_isempty(bgp_debug_bestpath_prefixes))
@@ -1338,7 +1338,7 @@ DEFUN (debug_bgp_update_prefix,
{
prefix_free(argv_p);
vty_outln (vty, "%% Malformed Prefix");
- return CMD_WARNING;
+ return CMD_WARNING_CONFIG_FAILED;
}
@@ -1391,7 +1391,7 @@ DEFUN (no_debug_bgp_update_prefix,
{
prefix_free(argv_p);
vty_outln (vty, "%% Malformed Prefix");
- return CMD_WARNING;
+ return CMD_WARNING_CONFIG_FAILED;
}
if (bgp_debug_update_prefixes && !list_isempty(bgp_debug_update_prefixes))
@@ -1492,7 +1492,7 @@ DEFUN (debug_bgp_zebra_prefix,
{
prefix_free(argv_p);
vty_outln (vty, "%% Malformed Prefix");
- return CMD_WARNING;
+ return CMD_WARNING_CONFIG_FAILED;
}
if (!bgp_debug_zebra_prefixes)
@@ -1562,7 +1562,7 @@ DEFUN (no_debug_bgp_zebra_prefix,
{
prefix_free(argv_p);
vty_outln (vty, "%% Malformed Prefix");
- return CMD_WARNING;
+ return CMD_WARNING_CONFIG_FAILED;
}
if (bgp_debug_zebra_prefixes && !list_isempty(bgp_debug_zebra_prefixes))