Skip to contentSkip to conversation

netfilter: define nat_pptp_info as needed

PATCH Applied Changli Gao 2 participants 2 messages Nov 14, 2010 – Nov 15, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 netfilter: define nat_pptp_info as needed

---
 include/net/netfilter/nf_nat.h |    2 ++
 1 file changed, 2 insertions(+)
include/net/netfilter/nf_nat.h +2 -0
index f5f09f0..d082938 100644
@@ -56,7 +56,9 @@ struct nf_nat_multi_range_compat {
 /* per conntrack: nat application helper private data */
 union nf_conntrack_nat_help {
 	/* insert nat helper private data here */
+#if defined(CONFIG_NF_NAT_PPTP) || defined(CONFIG_NF_NAT_PPTP_MODULE)
 	struct nf_nat_pptp nat_pptp_info;
+#endif
 };
 
 struct nf_conn;