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

Version Path
omnibus-software-23.7.295 config/patches/keepalived/keepalived-1.2.9_opscode_centos_5.patch
omnibus-software-23.6.292 config/patches/keepalived/keepalived-1.2.9_opscode_centos_5.patch
omnibus-software-23.6.291 config/patches/keepalived/keepalived-1.2.9_opscode_centos_5.patch
omnibus-software-23.2.283 config/patches/keepalived/keepalived-1.2.9_opscode_centos_5.patch
omnibus-software-23.2.281 config/patches/keepalived/keepalived-1.2.9_opscode_centos_5.patch
omnibus-software-22.11.239 config/patches/keepalived/keepalived-1.2.9_opscode_centos_5.patch