: nf_nat: fix IPsec policy checks
Fix IPsec NAT with new NAT code. I'll fold it into the main NAT patch when a few more fixes have accumulated.
[NETFILTER]: nf_nat: fix IPsec policy checks
Use corrent config option for nf_nat in nf_nat_decode_session.
Signed-off-by Patrick McHardy <[email protected]>
---
commit 2f20bca4b86255ad356dd1fbc8f28e2a6c2c9e6b
tree 30fe7565159d867b6918afff8ca74823548f2fa9
parent d2cde0011de62b34c5c0f95ba584962046277953
author Patrick McHardy <[email protected]> Mon, 06 Nov 2006 15:55:47 +0100 committer Patrick McHardy <[email protected]> Mon, 06 Nov 2006 15:55:47 +0100
include/linux/netfilter.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
include/linux/netfilter.h +1 -1
@@ -331,7 +331,7 @@ extern void (*ip_nat_decode_session)(strstatic inline void nf_nat_decode_session (struct sk_buff *skb,struct flowi *fl,int family) { -#ifdef CONFIG_IP_NF_NAT_NEEDED +#if defined(CONFIG_IP_NF_NAT_NEEDED ) || defined(CONFIG_NF_NAT_NEEDED )void (*decodefn)(struct sk_buff *,struct flowi *);if (family ==AF_INET && (decodefn = ip_nat_decode_session) !=NULL )