]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Set the ifindex to DELETED after we notify zebra
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 26 Jul 2017 13:57:35 +0000 (09:57 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 26 Jul 2017 18:17:35 +0000 (14:17 -0400)
commit647450524c42ba88c8b5acd60255e9018734c6b9
tree8066ab03669198f3f18ec0a41582fd906db179bb
parent0d510865ec4cc0d9cd54945647a274e18fa1898a
bgpd: Set the ifindex to DELETED after we notify zebra

The code path for a deleted interface was calling
zebra with a IFINDEX_DELETED, which caused zebra
to bitch and moan about the issue.  Since the
only thing this function does is call zebra
to deregister the RA stuff, don't set the
ifindex to DELETED till afterwords.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_zebra.c