diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-03-08 19:35:04 +0100 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-05-17 02:27:08 +0200 |
commit | 4d2ea6bf2860039123aca3437365fe9f65e4ba7d (patch) | |
tree | c1a75914de80aff7269f839deeb670a1e8538d16 /vrrpd/vrrp.c | |
parent | vrrpd: allow OS to choose VRRP IPv6 src address (diff) | |
download | frr-4d2ea6bf2860039123aca3437365fe9f65e4ba7d.tar.xz frr-4d2ea6bf2860039123aca3437365fe9f65e4ba7d.zip |
Revert "Revert "vrrpd: protodown mvlans when shutting down""
Now that the requirement of knowing our VRRP IPv6 primary address in
advance is lifted, it's no problem for us that the macvlans could be
down when we get them. We can handle this in both the v4 and v6 case
now, so we don't need to behave as if they should always be left up.
This reverts commit 6eae67dabcbc31a2117ce3847c18ac52b3b76b1e.
Diffstat (limited to 'vrrpd/vrrp.c')
-rw-r--r-- | vrrpd/vrrp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vrrpd/vrrp.c b/vrrpd/vrrp.c index 6262cd692..cba79b544 100644 --- a/vrrpd/vrrp.c +++ b/vrrpd/vrrp.c @@ -1555,6 +1555,9 @@ static int vrrp_shutdown(struct vrrp_router *r) THREAD_OFF(r->t_read); THREAD_OFF(r->t_write); + /* Protodown macvlan */ + vrrp_zclient_send_interface_protodown(r->mvl_ifp, true); + if (r->sock_rx > 0) { close(r->sock_rx); r->sock_rx = -1; |