aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/busybox/patches/004-upstream_iplink_fix.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-05-25 17:42:09 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-05-25 17:42:09 +0000
commitf4f553efa787e1f8f25bb2176f5e6c4c3aa659a9 (patch)
tree310f556f4a68661a07ada2d87790ff02796c941a /package/utils/busybox/patches/004-upstream_iplink_fix.patch
parenta54791f2baa2e193b5197b754f0b6b29d86d656e (diff)
downloadupstream-f4f553efa787e1f8f25bb2176f5e6c4c3aa659a9.tar.gz
upstream-f4f553efa787e1f8f25bb2176f5e6c4c3aa659a9.tar.bz2
upstream-f4f553efa787e1f8f25bb2176f5e6c4c3aa659a9.zip
busybox: update to 1.22.1
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40852
Diffstat (limited to 'package/utils/busybox/patches/004-upstream_iplink_fix.patch')
-rw-r--r--package/utils/busybox/patches/004-upstream_iplink_fix.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/utils/busybox/patches/004-upstream_iplink_fix.patch b/package/utils/busybox/patches/004-upstream_iplink_fix.patch
new file mode 100644
index 0000000000..0e2535687c
--- /dev/null
+++ b/package/utils/busybox/patches/004-upstream_iplink_fix.patch
@@ -0,0 +1,19 @@
+--- a/networking/libiproute/iplink.c
++++ b/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 */