Sha256: 272cc29702605f2364e9938b0164ebc9367a0eb5599d8865326b36574ba78134
Contents?: true
Size: 634 Bytes
Versions: 8
Compression:
Stored size: 634 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
8 entries across 8 versions & 1 rubygems