diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-07-29 20:16:14 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-07-29 21:36:30 +0200 |
commit | 2d8cb4be8791b36b58dd67e8eb66b739b72846ee (patch) | |
tree | 1ded1394edd1e79afd3d995919915ddb9a30ca7d /vrrpd | |
parent | Merge pull request #4728 from ton31337/fix/next-hop-self_force_alias_for_ipv6 (diff) | |
download | frr-2d8cb4be8791b36b58dd67e8eb66b739b72846ee.tar.xz frr-2d8cb4be8791b36b58dd67e8eb66b739b72846ee.zip |
vrrpd: set interface ifindex to internal upon interface deletion
That fix line should have been in a different place.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'vrrpd')
-rw-r--r-- | vrrpd/vrrp_zebra.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vrrpd/vrrp_zebra.c b/vrrpd/vrrp_zebra.c index c15c250bd..dbfcbe945 100644 --- a/vrrpd/vrrp_zebra.c +++ b/vrrpd/vrrp_zebra.c @@ -113,6 +113,8 @@ static int vrrp_zebra_if_del(int command, struct zclient *zclient, vrrp_if_del(ifp); + if_set_index(ifp, IFINDEX_INTERNAL); + return 0; } @@ -208,8 +210,6 @@ 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; } |