From: Dominik Hannen Date: Fri, 15 Jan 2016 22:39:54 +0000 (+0100) Subject: Fix IPv6PrivacyExtension (networkd-ndisc.c) X-Git-Tag: v229.1~1^2~54 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=838a00617ac09fbc0cb96d9117c87316b2a38e19;hp=26d2a60ca60f4f6cd7d5b5a907841c5e8e7d6365;ds=sidebyside 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. --- diff --git a/src/basic/missing.h b/src/basic/missing.h index af071bd37..19f41e871 100644 --- a/src/basic/missing.h +++ b/src/basic/missing.h @@ -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