On Thu, May 05, 2011 at 02:01:06PM +0200, Jakub Zawadzki wrote:
> IMHO when IPv4-mapping is used the longest address is:
> ::ffff:255.255.255.255 (22B)
> 
> Anyone knows inet_ntop(AF_INET6, ..) implementation which can actually use 46 
> bytes?
 
Maybe some inet_ntop() implementation don't generate short addresses? (0000 
instead of ::)
so ipv4 mapped address would be: "0000:0000:0000:0000:0000:0000:255.255.255.255"

I think I'll just copy inet_ntop6() from wsutil/inet_ntop.c to 
address_to_str.c...
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to