diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-07-08 20:35:14 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-07-08 20:35:14 +0200 |
commit | 4b94b7ac92c4aaa37bba78431ff14d3bc7dadf44 (patch) | |
tree | 5a8f6286585bbab82655c98dc43861c0388b5e1e | |
parent | Merge pull request #4639 from opensourcerouting/c-ares-lib (diff) | |
download | frr-4b94b7ac92c4aaa37bba78431ff14d3bc7dadf44.tar.xz frr-4b94b7ac92c4aaa37bba78431ff14d3bc7dadf44.zip |
vrrpd: set interface ifindex to internal upon deletion
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
-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; } |