summaryrefslogtreecommitdiff
path: root/src/basic
diff options
context:
space:
mode:
authorDominik Hannen <dhxgit@users.noreply.github.com>2016-01-15 23:39:54 +0100
committerDominik Hannen <cantares1+git@gmail.com>2016-01-16 00:44:46 +0100
commitf217be196ef831df7226bfd5ee6f10149d5b5787 (patch)
treeef87d297ea04f489ef533788cef0c58d0421a5e9 /src/basic
parent05c72f0f186e66788e036335ada4ce8932166f47 (diff)
Fix IPv6PrivacyExtension (networkd-ndisc.c)
This small addition fixes the issues #1982 and #2242. IPv6PrivacyExtension now works as expected even when a RA is received.
Diffstat (limited to 'src/basic')
-rw-r--r--src/basic/missing.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/basic/missing.h b/src/basic/missing.h
index 2d2785bead..c187afa287 100644
--- a/src/basic/missing.h
+++ b/src/basic/missing.h
@@ -974,6 +974,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