diff options
author | Renato Westphal <renato@opensourcerouting.org> | 2019-07-09 16:21:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-09 16:21:44 +0200 |
commit | 379ae68584f6b32db268d83651ca1bd39688f891 (patch) | |
tree | 3d11f24b3bdf64bc2be23476390c11e322ab8ede | |
parent | Merge pull request #4511 from pguibert6WIND/flowspec_some_fixes (diff) | |
parent | vrrpd: set interface ifindex to internal upon deletion (diff) | |
download | frr-379ae68584f6b32db268d83651ca1bd39688f891.tar.xz frr-379ae68584f6b32db268d83651ca1bd39688f891.zip |
Merge pull request #4655 from qlyoung/fix-vrrp-iface-del-infiniteloop
vrrpd: set interface ifindex to internal upon deletion
-rw-r--r-- | vrrpd/vrrp_zebra.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vrrpd/vrrp_zebra.c b/vrrpd/vrrp_zebra.c index 7503034de..c15c250bd 100644 --- a/vrrpd/vrrp_zebra.c +++ b/vrrpd/vrrp_zebra.c @@ -208,6 +208,8 @@ static int vrrp_zebra_if_address_del(int command, struct zclient *client, vrrp_if_address_del(c->ifp); + if_set_index(c->ifp, IFINDEX_INTERNAL); + return 0; } |