summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJing Min Zhao <zhaojingmin@vivecode.com>2007-05-24 16:44:40 -0700
committerDavid S. Miller <davem@davemloft.net>2007-05-24 16:44:40 -0700
commit1ff75ed254bdbb47bb0c1d71a3cc65f6831a8e3a (patch)
treeca05bf7f485a6c1e2cbdbf8f910018fc8d8a5fa3 /net
parentf8f1c08eaef838e22bf427665da87cfa73e5074d (diff)
downloadlinux-1ff75ed254bdbb47bb0c1d71a3cc65f6831a8e3a.tar.gz
linux-1ff75ed254bdbb47bb0c1d71a3cc65f6831a8e3a.tar.bz2
linux-1ff75ed254bdbb47bb0c1d71a3cc65f6831a8e3a.zip
[NETFILTER]: nf_nat_h323: call set_h225_addr instead of set_h225_addr_hook
They're the same. Signed-off-by: Jing Min Zhao <zhaojingmin@vivecode.com> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/netfilter/nf_nat_h323.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv4/netfilter/nf_nat_h323.c b/net/ipv4/netfilter/nf_nat_h323.c
index fcebc968d37f..c5d2a2d690b8 100644
--- a/net/ipv4/netfilter/nf_nat_h323.c
+++ b/net/ipv4/netfilter/nf_nat_h323.c
@@ -455,9 +455,9 @@ static int nat_q931(struct sk_buff **pskb, struct nf_conn *ct,
if (idx > 0 &&
get_h225_addr(ct, *data, &taddr[0], &addr, &port) &&
(ntohl(addr.ip) & 0xff000000) == 0x7f000000) {
- set_h225_addr_hook(pskb, data, 0, &taddr[0],
- &ct->tuplehash[!dir].tuple.dst.u3,
- info->sig_port[!dir]);
+ set_h225_addr(pskb, data, 0, &taddr[0],
+ &ct->tuplehash[!dir].tuple.dst.u3,
+ info->sig_port[!dir]);
}
} else {
nf_conntrack_unexpect_related(exp);