Ethereal-dev: Re: [Ethereal-dev] Patch: dotted-quad IP check fix

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: Sun, 3 Mar 2002 13:44:06 -0800
On Sun, Mar 03, 2002 at 11:30:04PM +0200, Heikki Vatiainen wrote:
> Here is a patch for epan/resolv.c:get_host_ipaddr() which catches
> incomplete dotted IP addresses.

Checked in.

It might be worthwhile not using "inet_aton()" here, to allow you to use
the shorthand to which you refer.