From 4440c6412c7077697673fd224b0da92c77effba5 Mon Sep 17 00:00:00 2001 From: Quentin Armitage Date: Sun, 1 Nov 2015 20:16:53 +0000 Subject: Don't specify source address in IP_ADD_MEMBERSHIP ioctl If ifindex is specified, any source address given is ignored. Signed-off-by: Quentin Armitage (cherry picked from commit d93175a71c53e5475bab4b2e436fa8c5dd18922c) --- keepalived/vrrp/vrrp_if.c | 1 - 1 file changed, 1 deletion(-) diff --git a/keepalived/vrrp/vrrp_if.c b/keepalived/vrrp/vrrp_if.c index e57d366..1204d32 100644 --- a/keepalived/vrrp/vrrp_if.c +++ b/keepalived/vrrp/vrrp_if.c @@ -459,7 +459,6 @@ if_join_vrrp_group(sa_family_t family, int *sd, interface_t *ifp, int proto) if (family == AF_INET) { memset(&imr, 0, sizeof(imr)); imr.imr_multiaddr = ((struct sockaddr_in *) &global_data->vrrp_mcast_group4)->sin_addr; - imr.imr_address.s_addr = IF_ADDR(ifp); imr.imr_ifindex = IF_INDEX(ifp); /* -> Need to handle multicast convergance after takeover. -- 1.7.12.1