packages/net/xtables-addons/patches/004-linux_3_3_compat.patch
jogo f2629b0847 packages: xtables-addons: update to 1.42
fixes compilation for 3.3 and 3.4.

git-svn-id: svn://svn.openwrt.org/openwrt/packages@31282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-13 21:37:01 +00:00

12 lines
388 B
Diff

--- a/extensions/compat_xtables.h
+++ b/extensions/compat_xtables.h
@@ -102,6 +102,8 @@
# define nf_nat_ipv4_multi_range_compat nf_nat_multi_range_compat
# define nf_nat_ipv4_range nf_nat_range
# define NF_NAT_RANGE_MAP_IPS IP_NAT_RANGE_MAP_IPS
+# define NF_NAT_MANIP_SRC IP_NAT_MANIP_SRC
+# define NF_NAT_MANIP_DST IP_NAT_MANIP_DST
#endif
#if !defined(NIP6) && !defined(NIP6_FMT)