]> git.puffer.fish Git - mirror/frr.git/commit
lib: CMD_FERR_RETURN should return CMD_WARNING_CONFIG_FAILED 1192/head
authorDaniel Walton <dwalton@cumulusnetworks.com>
Mon, 18 Sep 2017 15:07:40 +0000 (15:07 +0000)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Mon, 18 Sep 2017 15:07:40 +0000 (15:07 +0000)
commit7eb09438dd06175ab6e5e11578d0fa1d83aa3cae
treecfbfc556023e17d748b62c029c881573677b1a84
parenta7dd519b58c9f68d0b74bd6fb5daaf88e84ece63
lib: CMD_FERR_RETURN should return CMD_WARNING_CONFIG_FAILED

Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Testing the patch:

root@cel-redxp-10[frr-dwalton76]# vtysh -c 'conf t' -c ' int vlan2' -c
'ip igmp join 233.200.0.1 10.1.1.1'
Failure joining IGMP group: multicast not enabled on interface vlan2
root@cel-redxp-10[frr-dwalton76]# echo $?
1
root@cel-redxp-10[frr-dwalton76]
lib/ferr.h