* [PATCH] net/ipv6/tcp_ipv6.c: Use compressed IPv6 address
@ 2010-01-02 23:51 Joe Perches
2010-01-08 9:00 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Joe Perches @ 2010-01-02 23:51 UTC (permalink / raw)
To: David S. Miller; +Cc: netdev
Use "[compressed ipv6]:port" form suggested by:
http://tools.ietf.org/id/draft-ietf-6man-text-addr-representation-03.txt
Signed-off-by: Joe Perches <joe@perches.com>
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c
index febfd59..1c832bf 100644
--- a/net/ipv6/tcp_ipv6.c
+++ b/net/ipv6/tcp_ipv6.c
@@ -876,7 +876,7 @@ static int tcp_v6_inbound_md5_hash (struct sock *sk, struct sk_buff *skb)
if (genhash || memcmp(hash_location, newhash, 16) != 0) {
if (net_ratelimit()) {
- printk(KERN_INFO "MD5 Hash %s for (%pI6, %u)->(%pI6, %u)\n",
+ printk(KERN_INFO "MD5 Hash %s for [%pI6c]:%u->[%pI6c]:%u\n",
genhash ? "failed" : "mismatch",
&ip6h->saddr, ntohs(th->source),
&ip6h->daddr, ntohs(th->dest));
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net/ipv6/tcp_ipv6.c: Use compressed IPv6 address
2010-01-02 23:51 [PATCH] net/ipv6/tcp_ipv6.c: Use compressed IPv6 address Joe Perches
@ 2010-01-08 9:00 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2010-01-08 9:00 UTC (permalink / raw)
To: joe; +Cc: netdev
From: Joe Perches <joe@perches.com>
Date: Sat, 02 Jan 2010 15:51:41 -0800
> Use "[compressed ipv6]:port" form suggested by:
> http://tools.ietf.org/id/draft-ietf-6man-text-addr-representation-03.txt
>
> Signed-off-by: Joe Perches <joe@perches.com>
Applied to net-next-2.6, thanks Joe.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-08 8:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-02 23:51 [PATCH] net/ipv6/tcp_ipv6.c: Use compressed IPv6 address Joe Perches
2010-01-08 9:00 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).