mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 23:54:45 +00:00
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.
This commit is contained in:
parent
1760ce424b
commit
4d2ea6bf28
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user