mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 22:35:33 +00:00
net: add a #define for increased compatiblity with old distributions
Debian 9 doesn't have IFLA_NEW_IFINDEX defined Signed-off-by: Nicolas Viennot <Nicolas.Viennot@twosigma.com>
This commit is contained in:
committed by
Andrei Vagin
parent
29c34386b0
commit
24bdfa72df
@@ -50,6 +50,10 @@
|
||||
#include "images/netdev.pb-c.h"
|
||||
#include "images/inventory.pb-c.h"
|
||||
|
||||
#ifndef IFLA_NEW_IFINDEX
|
||||
#define IFLA_NEW_IFINDEX 49
|
||||
#endif
|
||||
|
||||
#ifndef IFLA_LINK_NETNSID
|
||||
#define IFLA_LINK_NETNSID 37
|
||||
#undef IFLA_MAX
|
||||
|
Reference in New Issue
Block a user