diff options
author | Changli Gao <xiaosuo@gmail.com> | 2010-11-15 14:27:27 +0300 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-11-15 14:27:27 +0300 |
commit | 03c0e5bb34c9755ae4d955c97fba40b24e9c7fe7 (patch) | |
tree | 5dd8f18502a4c78ce889b4917851bc6413afa657 /include/net/netfilter | |
parent | e0e76c83becc7536e8371e560504d836d34fcf7d (diff) | |
download | linux-03c0e5bb34c9755ae4d955c97fba40b24e9c7fe7.tar.xz |
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>
Diffstat (limited to 'include/net/netfilter')
-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 e966092a36f1..aff80b190c12 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; |