mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 11:24:58 +02:00
1286e7d309
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22953 3c298f89-4303-0410-b956-a3cf2f4a3e73
15 lines
315 B
Diff
15 lines
315 B
Diff
--- a/networking/libiproute/iplink.c
|
|
+++ b/networking/libiproute/iplink.c
|
|
@@ -15,6 +15,11 @@
|
|
#include "rt_names.h"
|
|
#include "utils.h"
|
|
|
|
+#ifndef IFLA_LINKINFO
|
|
+# define IFLA_LINKINFO 18
|
|
+# define IFLA_INFO_KIND 1
|
|
+#endif
|
|
+
|
|
/* taken from linux/sockios.h */
|
|
#define SIOCSIFNAME 0x8923 /* set interface name */
|
|
|