[scripts] env: colorize git output
[openwrt.git] / package / iproute2 / patches / 007-version_includes.patch
1 ---
2 include/linux/netfilter_ipv4/ip_tables.h | 3 +++
3 1 file changed, 3 insertions(+)
4
5 --- a/include/linux/netfilter_ipv4/ip_tables.h
6 +++ b/include/linux/netfilter_ipv4/ip_tables.h
7 @@ -113,8 +113,11 @@ struct ipt_entry {
8 #define IPT_CONTINUE XT_CONTINUE
9 #define IPT_RETURN XT_RETURN
10
11 +#include <linux/version.h>
12 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
13 /* This group is older than old (iptables < v1.4.0-rc1~89) */
14 #include <linux/netfilter/xt_tcpudp.h>
15 +#endif
16 #define ipt_udp xt_udp
17 #define ipt_tcp xt_tcp
18
This page took 0.055442 seconds and 5 git commands to generate.