diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-01-23 23:59:07 +0100 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-05-17 02:27:08 +0200 |
commit | 6e9529edd655a99e21672649c21621c0a27454bf (patch) | |
tree | e2006d83049ff75e8c9e598c1342de31c6bfecf2 | |
parent | vrrpd: remove bad priority check (diff) | |
download | frr-6e9529edd655a99e21672649c21621c0a27454bf.tar.xz frr-6e9529edd655a99e21672649c21621c0a27454bf.zip |
vrrpd: disable multicast loopback
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
-rw-r--r-- | vrrpd/vrrp.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vrrpd/vrrp.c b/vrrpd/vrrp.c index 94f59f37f..90ea25d77 100644 --- a/vrrpd/vrrp.c +++ b/vrrpd/vrrp.c @@ -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); { |