summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2019-07-08 20:35:14 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2019-07-08 20:35:14 +0200
commit4b94b7ac92c4aaa37bba78431ff14d3bc7dadf44 (patch)
tree5a8f6286585bbab82655c98dc43861c0388b5e1e
parentMerge pull request #4639 from opensourcerouting/c-ares-lib (diff)
downloadfrr-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.c2
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;
}