All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/4] H.323: update get_h225_addr() for IPv6 address access
@ 2007-05-17 19:17 Jing Min Zhao
  2007-05-24 18:52 ` Patrick McHardy
  0 siblings, 1 reply; 2+ messages in thread
From: Jing Min Zhao @ 2007-05-17 19:17 UTC (permalink / raw)
  To: Patrick McHardy; +Cc: Netfilter Development Mailinglist

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>
---
 net/netfilter/nf_conntrack_h323_main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/netfilter/nf_conntrack_h323_main.c b/net/netfilter/nf_conntrack_h323_main.c
index b284db7..8bb99b3 100644
--- a/net/netfilter/nf_conntrack_h323_main.c
+++ b/net/netfilter/nf_conntrack_h323_main.c
@@ -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:
-- 
1.4.4.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 2/4] H.323: update get_h225_addr() for IPv6 address access
  2007-05-17 19:17 [PATCH 2/4] H.323: update get_h225_addr() for IPv6 address access Jing Min Zhao
@ 2007-05-24 18:52 ` Patrick McHardy
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2007-05-24 18:52 UTC (permalink / raw)
  To: Jing Min Zhao; +Cc: Netfilter Development Mailinglist

Jing Min Zhao wrote:
> 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>


Also applied, thanks.

BTW, I've replaced "update" by "fix" in the patch title since these
really are fixes and the merge window is already closed.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-24 18:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-17 19:17 [PATCH 2/4] H.323: update get_h225_addr() for IPv6 address access Jing Min Zhao
2007-05-24 18:52 ` Patrick McHardy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.