build: additional compilation fixes for Linux 3.2/3.3

This commit is contained in:
Jan Engelhardt
2012-01-04 21:34:52 +01:00
parent 7a1ad32d1a
commit 076610e3af
6 changed files with 18 additions and 2 deletions

View File

@@ -92,7 +92,7 @@
# define rt_dst(rt) (&(rt)->u.dst)
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 2, 0)
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 3, 0)
# 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