]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: dup addr detect clear cmd non-zero return
authorChirag Shah <chirag@cumulusnetworks.com>
Mon, 3 Dec 2018 03:08:22 +0000 (19:08 -0800)
committerChirag Shah <chirag@cumulusnetworks.com>
Tue, 4 Dec 2018 00:56:00 +0000 (16:56 -0800)
commit1883de666fccfe1c74124a5e87fbb9154fe7ae77
tree977a926e5f8c4fe5d00d8bf56efaa2ba2ea67e02
parenta1f0a9ac23cc0bcc456e15e5b69f23ad817f8b6e
zebra: dup addr detect clear cmd non-zero return

Clear dup address vni needs to return non-zero value
in case of command is not successful.

Ticket:CM-23122
Testing Done:
run clear command and check upon failure return code is non-zero.

root@TORS1:~# vtysh -c "clear evpn dup-addr vni 1000 ip 45.0.1.26"
% Requested IP's associated MAC 00:01:02:03:04:05 is still in duplicate
% state
root@TORS1:~# echo $?
1

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
zebra/zebra_vty.c
zebra/zebra_vxlan.c
zebra/zebra_vxlan.h