aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox/patches/000-upstream-compat.patch
blob: 1f474f2eedcb474cbe6ab0325a9558d3349d7e36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- 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 */