summaryrefslogtreecommitdiff
path: root/src/basic
diff options
context:
space:
mode:
authorRabin Vincent <rabinv@axis.com>2016-02-12 08:41:44 +0100
committerRabin Vincent <rabinv@axis.com>2016-02-15 07:39:23 +0100
commitbacef2a229a9bee12adbea92dfb47db8757441c8 (patch)
treeb79a292f7f75031d44c6caf504450f33046a8246 /src/basic
parent63408cb4f3607bc029f107e8bde46e60ecf627dc (diff)
missing.h: define IFLA_EXT_MASK
We already define IFLA_PROMISCUITY and some other of these masks in order to allow building with older headers. Define IFLA_EXT_MASK too, which was added in the same kernel version as IFLA_PROMISCUITY (v3.10).
Diffstat (limited to 'src/basic')
-rw-r--r--src/basic/missing.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/missing.h b/src/basic/missing.h
index 36b060496a..4d3764c022 100644
--- a/src/basic/missing.h
+++ b/src/basic/missing.h
@@ -714,6 +714,7 @@ static inline int setns(int fd, int nstype) {
#endif
#if !HAVE_DECL_IFLA_PHYS_PORT_ID
+#define IFLA_EXT_MASK 29
#undef IFLA_PROMISCUITY
#define IFLA_PROMISCUITY 30
#define IFLA_NUM_TX_QUEUES 31