mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 04:40:21 +00:00
Merge pull request #1192 from dwalton76/igmp-group-failure
lib: CMD_FERR_RETURN should return CMD_WARNING_CONFIG_FAILED
This commit is contained in:
commit
b74d103e11
@ -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__)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user