mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 21:10:28 +00:00
vrrpd: disable multicast loopback
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
parent
64b4491592
commit
6e9529edd6
@ -664,6 +664,9 @@ static int vrrp_socket(struct vrrp_router *r)
|
||||
r->vr->vrid);
|
||||
}
|
||||
|
||||
/* Turn off multicast loop on Tx */
|
||||
setsockopt_ipv4_multicast_loop(r->sock_tx, 0);
|
||||
|
||||
/* Bind Rx socket to exact interface */
|
||||
vrrp_privs.change(ZPRIVS_RAISE);
|
||||
{
|
||||
@ -751,6 +754,9 @@ static int vrrp_socket(struct vrrp_router *r)
|
||||
goto done;
|
||||
}
|
||||
|
||||
/* Turn off multicast loop on Tx */
|
||||
setsockopt_ipv6_multicast_loop(r->sock_tx, 0);
|
||||
|
||||
/* Bind Rx socket to exact interface */
|
||||
vrrp_privs.change(ZPRIVS_RAISE);
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user