diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-08-26 19:14:27 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-08-30 03:00:23 +0200 |
commit | 5901b6be885e2c9a30fd94803b846b3d33e351dd (patch) | |
tree | c0d39ccddcd339eb7d1a0866006faf6aeebdc16b /net/netfilter/nf_conntrack_irc.c | |
parent | 9a664821068739dbc8eac13770e28167b46a0c0f (diff) | |
download | op-kernel-dev-5901b6be885e2c9a30fd94803b846b3d33e351dd.zip op-kernel-dev-5901b6be885e2c9a30fd94803b846b3d33e351dd.tar.gz |
netfilter: nf_nat: support IPv6 in IRC NAT helper
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/netfilter/nf_conntrack_irc.c')
-rw-r--r-- | net/netfilter/nf_conntrack_irc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/netfilter/nf_conntrack_irc.c b/net/netfilter/nf_conntrack_irc.c index 95d097c..3b20aa7 100644 --- a/net/netfilter/nf_conntrack_irc.c +++ b/net/netfilter/nf_conntrack_irc.c @@ -205,8 +205,7 @@ static int help(struct sk_buff *skb, unsigned int protoff, IPPROTO_TCP, NULL, &port); nf_nat_irc = rcu_dereference(nf_nat_irc_hook); - if (nf_nat_irc && nf_ct_l3num(ct) == NFPROTO_IPV4 && - ct->status & IPS_NAT_MASK) + if (nf_nat_irc && ct->status & IPS_NAT_MASK) ret = nf_nat_irc(skb, ctinfo, protoff, addr_beg_p - ib_ptr, addr_end_p - addr_beg_p, |