0e2535687cfcef814c06e7a31751ac68433c78e9
[openwrt/staging/mkresin.git] / package / utils / busybox / patches / 004-upstream_iplink_fix.patch
1 --- a/networking/libiproute/iplink.c
2 +++ b/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 */