vrrpd: disable multicast loopback

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
Quentin Young 2019-01-23 22:59:07 +00:00
parent 64b4491592
commit 6e9529edd6

View File

@ -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);
{