summaryrefslogtreecommitdiff
path: root/lib/ferr.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ferr.h')
-rw-r--r--lib/ferr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ferr.h b/lib/ferr.h
index a570637372..c4f83f1710 100644
--- a/lib/ferr.h
+++ b/lib/ferr.h
@@ -162,7 +162,7 @@ void vty_print_error(struct vty *vty, ferr_r err, const char *msg, ...);
} while (0)
#define CMD_FERR_RETURN(func, ...) \
- CMD_FERR_DO(func, return CMD_WARNING, __VA_ARGS__)
+ CMD_FERR_DO(func, return CMD_WARNING_CONFIG_FAILED, __VA_ARGS__)
#define CMD_FERR_GOTO(func, label, ...) \
CMD_FERR_DO(func, goto label, __VA_ARGS__)