From 838a00617ac09fbc0cb96d9117c87316b2a38e19 Mon Sep 17 00:00:00 2001 From: Dominik Hannen Date: Fri, 15 Jan 2016 23:39:54 +0100 Subject: [PATCH] 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. --- src/basic/missing.h | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.30.2