Root/
| 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,7 +113,10 @@ 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 | #include <linux/netfilter/xt_tcpudp.h> |
| 14 | +#endif |
| 15 | #define ipt_udp xt_udp |
| 16 | #define ipt_tcp xt_tcp |
| 17 | |
| 18 |
