]> git.puffer.fish Git - mirror/frr.git/commitdiff
vrrpd: set interface ifindex to internal upon deletion 4655/head
authorQuentin Young <qlyoung@cumulusnetworks.com>
Mon, 8 Jul 2019 18:35:14 +0000 (18:35 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Mon, 8 Jul 2019 18:35:14 +0000 (18:35 +0000)
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
vrrpd/vrrp_zebra.c

index 7503034de32fedf0cd49d67f767344cec1b6916f..c15c250bdf0d9188c50fd6919d697718fdcb1e2a 100644 (file)
@@ -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;
 }