packages/net/xtables-addons/patches/004-linux_3_3_compat.patch

12 lines
388 B
Diff
Raw Normal View History

--- 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)