Ethereal-dev: Re: [Ethereal-dev] Dual inet_aton for win32

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Thu, 21 Oct 2004 10:50:19 -0700
Francisco Alcoba (TS/EEM) wrote:
There are two different definitions of inet_aton for Windows:
Declarations, not definitions.  The definitions are in...

the one in  epan/inet_aton.h
epan/inet_aton.c and...

and the one in adns.h.
ADNS.

Is this a bug or the way it should be?
It's the way it should be.  epan/inet_aton.c is there to support 
platforms that lack inet_aton(), so it belongs there.
I guess Windows is such a platform; ADNS, as per your other mail, 
apparently supplies its own, buggy, inet_aton(), but our own 
inet_aton.{c,h} antedates support for ADNS in Ethereal.