summaryrefslogtreecommitdiff
path: root/networking/libiproute/iplink.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/libiproute/iplink.c')
-rw-r--r--networking/libiproute/iplink.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/networking/libiproute/iplink.c b/networking/libiproute/iplink.c
index 9ced18d..f9421fc 100644
--- a/networking/libiproute/iplink.c
+++ b/networking/libiproute/iplink.c
@@ -17,7 +17,9 @@
#ifndef IFLA_LINKINFO
# define IFLA_LINKINFO 18
+# define IFLA_INFO_KIND 1
#endif
+
/* taken from linux/sockios.h */
#define SIOCSIFNAME 0x8923 /* set interface name */