Re: [RFC] ipv6: Change %pI6 format to output compacted addresses?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Brian Haley
Date: Thursday, August 13, 2009 - 1:24 pm

Joe Perches wrote:

Is your arch "um"?  Seems like those are only defined there, I'm building
a straight x86 kernel.


This core dumps when running "test", I'm still trying to track down why.

I think we're thinking too hard about this, I would think we'd always
want to print the shortened IPv6 address in debugging messages with %pI6.
The %pi6 places need to stay since they're an API to userspace.  I don't
think we need the extra "c" and "c4" support.

One comment on a quick scan of the code:


ip6_addr[8 * 5] is fine here, we won't ever have all eight plus an IPv4 address.

-Brian
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC] ipv6: Change %pI6 format to output compacted add ..., Christoph Hellwig, (Thu Aug 13, 7:18 am)
Re: [RFC] ipv6: Change %pI6 format to output compacted add ..., Brian Haley, (Thu Aug 13, 1:24 pm)