Subject: Re: inet_pton() spec non-conformance
To: None <tech-net@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-net
Date: 02/07/2000 14:19:58
In article <20000207144320.A8691@cs.uni-bonn.de>,
Ignatios Souvatzis <ignatios@cs.uni-bonn.de> wrote:
>
>If I understand the issue, you want to change inet_aton() and inet_addr().
>
>if inet_pton may not do historical processing, my suggestion is to create a
>new inet_pton4_internal with an additional flag parameter.
>if flag 0, accept historical addresses
>if flat 1, don't.
>
>then call inet_pton4_internal(...,...,1) from inet_pton4() and 
>inet_pton4_internal(...,...,0) from inet_addr and inet_aton.
>

That is the correct fix. 

christos