Ethereal-dev: Re: [Ethereal-dev] Can't see IPv6 address in Windows, can in Linux?

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Mon, 28 Oct 2002 16:08:18 -0800
On Mon, Oct 28, 2002 at 05:42:46PM +0200, Yaniv Kaul wrote:
> Opening the file on Linux, it is shown nicely. On Windows, the source and
> destination addresses are empty.

It's not solely the result of an address-to-name resolution problem, as
it shows up even if address-to-name resolution for network names is
disabled.

I.e., "ip6_to_str()" isn't working correctly on Windows.

"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.