upgrade iproute2 to 2.6.29-1 - includes support for the skbedit scheduler action
[openwrt.git] / package / iproute2 / patches / 007-version_includes.patch
1 --- a/include/linux/netfilter_ipv4/ip_tables.h
2 +++ b/include/linux/netfilter_ipv4/ip_tables.h
3 @@ -114,7 +114,10 @@ struct ipt_entry
4 #define IPT_CONTINUE XT_CONTINUE
5 #define IPT_RETURN XT_RETURN
6
7 +#include <linux/version.h>
8 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
9 #include <linux/netfilter/xt_tcpudp.h>
10 +#endif
11 #define ipt_udp xt_udp
12 #define ipt_tcp xt_tcp
13
This page took 0.040865 seconds and 5 git commands to generate.