diff options
author | Patrick McHardy <kaber@trash.net> | 2012-08-26 19:14:14 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-08-30 03:00:18 +0200 |
commit | b3f644fc8232ca761da0b5c5ccb6f30b423c4302 (patch) | |
tree | 6141514d1bb2046c90f66e93234c3494e658e04c /include/net/netfilter/nf_nat.h | |
parent | 58a317f1061c894d2344c0b6a18ab4a64b69b815 (diff) | |
download | op-kernel-dev-b3f644fc8232ca761da0b5c5ccb6f30b423c4302.zip op-kernel-dev-b3f644fc8232ca761da0b5c5ccb6f30b423c4302.tar.gz |
netfilter: ip6tables: add MASQUERADE target
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/net/netfilter/nf_nat.h')
-rw-r--r-- | include/net/netfilter/nf_nat.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/net/netfilter/nf_nat.h b/include/net/netfilter/nf_nat.h index 1752f133..bd8eea7 100644 --- a/include/net/netfilter/nf_nat.h +++ b/include/net/netfilter/nf_nat.h @@ -43,7 +43,9 @@ struct nf_conn_nat { struct nf_conn *ct; union nf_conntrack_nat_help help; #if defined(CONFIG_IP_NF_TARGET_MASQUERADE) || \ - defined(CONFIG_IP_NF_TARGET_MASQUERADE_MODULE) + defined(CONFIG_IP_NF_TARGET_MASQUERADE_MODULE) || \ + defined(CONFIG_IP6_NF_TARGET_MASQUERADE) || \ + defined(CONFIG_IP6_NF_TARGET_MASQUERADE_MODULE) int masq_index; #endif }; |