diff options
author | Changli Gao <xiaosuo@gmail.com> | 2010-11-15 12:27:27 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-11-15 12:27:27 +0100 |
commit | 03c0e5bb34c9755ae4d955c97fba40b24e9c7fe7 (patch) | |
tree | 5dd8f18502a4c78ce889b4917851bc6413afa657 | |
parent | e0e76c83becc7536e8371e560504d836d34fcf7d (diff) | |
download | op-kernel-dev-03c0e5bb34c9755ae4d955c97fba40b24e9c7fe7.zip op-kernel-dev-03c0e5bb34c9755ae4d955c97fba40b24e9c7fe7.tar.gz |
netfilter: nf_nat: define nat_pptp_info as needed
Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
-rw-r--r-- | include/net/netfilter/nf_nat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netfilter/nf_nat.h b/include/net/netfilter/nf_nat.h index e966092..aff80b1 100644 --- a/include/net/netfilter/nf_nat.h +++ b/include/net/netfilter/nf_nat.h @@ -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; |