diff options
Diffstat (limited to 'networking/libiproute')
-rw-r--r-- | networking/libiproute/iplink.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/networking/libiproute/iplink.c b/networking/libiproute/iplink.c index 8bf892797..76521e174 100644 --- a/networking/libiproute/iplink.c +++ b/networking/libiproute/iplink.c | |||
@@ -15,6 +15,11 @@ | |||
15 | #include "rt_names.h" | 15 | #include "rt_names.h" |
16 | #include "utils.h" | 16 | #include "utils.h" |
17 | 17 | ||
18 | #ifndef IFLA_LINKINFO | ||
19 | # define IFLA_LINKINFO 18 | ||
20 | # define IFLA_INFO_KIND 1 | ||
21 | #endif | ||
22 | |||
18 | /* taken from linux/sockios.h */ | 23 | /* taken from linux/sockios.h */ |
19 | #define SIOCSIFNAME 0x8923 /* set interface name */ | 24 | #define SIOCSIFNAME 0x8923 /* set interface name */ |
20 | 25 | ||