chiark / gitweb /
Fix IPv6PrivacyExtension (networkd-ndisc.c)
authorDominik Hannen <dhxgit@users.noreply.github.com>
Fri, 15 Jan 2016 22:39:54 +0000 (23:39 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 17 May 2017 13:22:15 +0000 (15:22 +0200)
This small addition fixes the issues #1982 and #2242.
IPv6PrivacyExtension now works as expected even when a RA is received.

src/basic/missing.h

index af071bd37b7e873695e24e2bd00f4b643812e238..19f41e87193b9974615aca1e9ca3dd6484dbc1d5 100644 (file)
@@ -979,6 +979,10 @@ static inline int setns(int fd, int nstype) {
 #define IFA_FLAGS 8
 #endif
 
+#ifndef IFA_F_MANAGETEMPADDR
+#define IFA_F_MANAGETEMPADDR 0x100
+#endif
+
 #ifndef IFA_F_NOPREFIXROUTE
 #define IFA_F_NOPREFIXROUTE 0x200
 #endif