Magellan Linux

Contents of /trunk/busybox/patches/busybox-1.22.1-iplink.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2424 - (show annotations) (download)
Wed Mar 26 13:00:45 2014 UTC (10 years, 1 month ago) by niro
File size: 425 byte(s)
-added upstream patches
1 --- busybox-1.22.1/networking/libiproute/iplink.c
2 +++ busybox-1.22.1-iplink/networking/libiproute/iplink.c
3 @@ -31,6 +31,16 @@
4 #ifndef IFLA_LINKINFO
5 # define IFLA_LINKINFO 18
6 # define IFLA_INFO_KIND 1
7 +# define IFLA_INFO_DATA 2
8 +#endif
9 +
10 +#ifndef IFLA_VLAN_MAX
11 +# define IFLA_VLAN_ID 1
12 +# define IFLA_VLAN_FLAGS 2
13 +struct ifla_vlan_flags {
14 + uint32_t flags;
15 + uint32_t mask;
16 +};
17 #endif
18
19 /* taken from linux/sockios.h */