mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 08:56:15 +09:00
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).
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user