dect
/
linux-2.6
Archived
13
0
Fork 0

[NETFILTER]: nf_conntrack_h323: fix get_h225_addr() for IPv6 address access

Update get_h225_addr() to meet the changes in ASN.1 types. It was using
field ip6 to access IPv6 TransportAddress, it should be ip according the
ASN.1 definition.

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>
This commit is contained in:
Jing Min Zhao 2007-05-24 16:43:07 -07:00 committed by David S. Miller
parent d052918688
commit bb807245ef
1 changed files with 1 additions and 1 deletions

View File

@ -640,7 +640,7 @@ int get_h225_addr(struct nf_conn *ct, unsigned char *data,
case eTransportAddress_ip6Address:
if (family != AF_INET6)
return 0;
p = data + taddr->ip6Address.ip6;
p = data + taddr->ip6Address.ip;
len = 16;
break;
default: