Merge pull request #1192 from dwalton76/igmp-group-failure

lib: CMD_FERR_RETURN should return CMD_WARNING_CONFIG_FAILED
This commit is contained in:
Renato Westphal 2017-09-20 10:06:29 -03:00 committed by GitHub
commit b74d103e11

View File

@ -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__)