summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2014-01-23 10:21:15 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2014-01-23 11:46:14 (GMT)
commit1052a4a75f610ddcfb73f6d3aba8472f5b0cd2ad (patch)
treeb22a74a34e30dff95f278bad6edf462ca9e20790
parent43d8dc3a392dcb769075cf1b076376a280c15c99 (diff)
downloadbuildroot-1052a4a75f610ddcfb73f6d3aba8472f5b0cd2ad.tar.gz
buildroot-1052a4a75f610ddcfb73f6d3aba8472f5b0cd2ad.tar.bz2
busybox 1.22.1: add upstream iplink fix
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/busybox/1.22.1/0004-busybox-1.22.1-iplink.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/busybox/1.22.1/0004-busybox-1.22.1-iplink.patch b/package/busybox/1.22.1/0004-busybox-1.22.1-iplink.patch
new file mode 100644
index 0000000..dbd76c5
--- /dev/null
+++ b/package/busybox/1.22.1/0004-busybox-1.22.1-iplink.patch
@@ -0,0 +1,19 @@
+--- busybox-1.22.1/networking/libiproute/iplink.c
++++ busybox-1.22.1-iplink/networking/libiproute/iplink.c
+@@ -31,6 +31,16 @@
+ #ifndef IFLA_LINKINFO
+ # define IFLA_LINKINFO 18
+ # define IFLA_INFO_KIND 1
++# define IFLA_INFO_DATA 2
++#endif
++
++#ifndef IFLA_VLAN_MAX
++# define IFLA_VLAN_ID 1
++# define IFLA_VLAN_FLAGS 2
++struct ifla_vlan_flags {
++ uint32_t flags;
++ uint32_t mask;
++};
+ #endif
+
+ /* taken from linux/sockios.h */