Sha256: 26c6abb0ceaa2bed35a30d5f09af16f75aa498a4a1123b785282d9403fa0b3ec
Contents?: true
Size: 640 Bytes
Versions: 6
Compression:
Stored size: 640 Bytes
Contents
diff --git keepalived-1.2.9/vrrp/vrrp_ipaddress.c keepalived-1.2.9_centos5/vrrp/vrrp_ipaddress.c index 130014f..1900327 100644 --- a/keepalived/vrrp/vrrp_ipaddress.c +++ b/keepalived/vrrp/vrrp_ipaddress.c @@ -76,7 +76,9 @@ netlink_ipaddress(ip_address_t *ipaddress, int cmd) * without service. HA/VRRP setups have their own "DAD"-like * functionality, so it's not really needed from the IPv6 stack. */ - req.ifa.ifa_flags |= IFA_F_NODAD; + #ifdef IFA_F_NODAD + req.ifa.ifa_flags |= IFA_F_NODAD; + #endif addattr_l(&req.n, sizeof(req), IFA_LOCAL, &ipaddress->u.sin6_addr, sizeof(ipaddress->u.sin6_addr));
Version data entries
6 entries across 6 versions & 1 rubygems