summaryrefslogtreecommitdiff
path: root/bgpd/rfapi/vnc_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/rfapi/vnc_debug.c')
-rw-r--r--bgpd/rfapi/vnc_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/rfapi/vnc_debug.c b/bgpd/rfapi/vnc_debug.c
index e43b152e50..53669ce3b2 100644
--- a/bgpd/rfapi/vnc_debug.c
+++ b/bgpd/rfapi/vnc_debug.c
@@ -86,7 +86,7 @@ DEFUN (debug_bgp_vnc,
}
}
vty_outln (vty, "Unknown debug flag: %s", argv[3]->arg);
- return CMD_WARNING;
+ return CMD_WARNING_CONFIG_FAILED;
}
DEFUN (no_debug_bgp_vnc,
@@ -125,7 +125,7 @@ DEFUN (no_debug_bgp_vnc,
}
}
vty_outln (vty, "Unknown debug flag: %s", argv[3]->arg);
- return CMD_WARNING;
+ return CMD_WARNING_CONFIG_FAILED;
}