]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
missing.h: define IFLA_EXT_MASK 2617/head
authorRabin Vincent <rabinv@axis.com>
Fri, 12 Feb 2016 07:41:44 +0000 (08:41 +0100)
committerRabin Vincent <rabinv@axis.com>
Mon, 15 Feb 2016 06:39:23 +0000 (07:39 +0100)
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 36b060496a7b9e412a3f7211c2ff6c085b76c2a2..4d3764c0225e47a05b45f184335dbd22788e2d7c 100644 (file)
@@ -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