Ethereal-users: Re: [Ethereal-users] No IPv6 addresses

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Martin Regner" <martin.regner@xxxxxxxxx>
Date: Sat, 9 Nov 2002 08:55:55 +0100
Gisle Vanem wrote:
>I'm running Win-XP (SP1) with the IPv6 option installed. ping6 works (atleast
>for localhost). But, why doesn't I get IPv6 printed from tethereal or ethereal? 
>As a test I'm sending a "ICMP6 Neighbor Solicitation" from another PC. This
>is what tethereal shows:


Yes there is a problem with this in the Windows version of Ethereal,.
It works with Ethereal 0.9.5 and earlier (I have tested with 0.9.1 and 0.9.5), but not with Etheral 0.9.6 and 0.9.7.
Guy has checked in a fix for this that will be included in next release.


Regards,
  Martin


Guy Harris wrote:
>On Mon, Oct 28, 2002 at 04:08:18PM -0800, Guy Harris wrote:
>> "ip6_to_str()" just calls "inet_ntop.c", which does a "switch" on the
>> first argument.  I seem to remember seeing complaints about AF_INET6
>> being redefined, so perhaps we're defining it ourselves in a header
>> included by one of "epan/inet_ntop.c" and "epan/to_str.c" but not by
>> both of them, so they're using different values for AF_INET6.
>
>"inet_ntop.c" was including <winsock2.h>, but "to_str.c" - and
>"resolv.c" - weren't.
>
>I changed them to include it if it's present, as not doing so may have
>caused them to have different values for AF_INET6.