From 361e70a4855e69d2e5d41f85ba3896eaa37bcfa6 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 25 May 2014 17:42:09 +0000 Subject: busybox: update to 1.22.1 Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40852 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../busybox/patches/004-upstream_iplink_fix.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 package/utils/busybox/patches/004-upstream_iplink_fix.patch (limited to 'package/utils/busybox/patches/004-upstream_iplink_fix.patch') 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 */ -- cgit v1.2.3