chiark / gitweb /
missing.h: define IFLA_EXT_MASK
authorRabin Vincent <rabinv@axis.com>
Fri, 12 Feb 2016 07:41:44 +0000 (08:41 +0100)
committerSven Eden <yamakuzure@gmx.net>
Fri, 16 Jun 2017 08:12:57 +0000 (10:12 +0200)
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).

src/basic/missing.h

index ec390f4f9a4873020e5630d0f48def6ded920459..40d0bf01b66d0124edc6492bbc15905b45be501e 100644 (file)
@@ -723,6 +723,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