> > | > inet_pton(). inet_pton() is defined in RFC2553 and it does not permit
> > | > non-standard IPv4 dotted-decimal, such as 10.10
> > |
> > | Do people have troubles with this change?
>
> I think supporting non-standard IPv4 addr form in
> getaddrinfo() is possible, because RFC2553 just says
> inet_pton() doesn't support non-standard form, but it doesn't
> say getaddrinfo() must use inet_pton() nor can't use
> inet_addr().
Itojun found that X/Open Networking Services Spec defines
similar to above thing for getaddrinfo().
-inet_addr() compatible IPv4 format is valid for AF_INET or AF_UNSPEC
-inet_pton() compatible IPv6 format is valid for AF_INET6 or AF_UNSPEC
So replacing inet_pton() to inet_addr() in getaddrinfo() IPv4
related processing part seems to be a good answer. :-)
Yoshinobu Inoue
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message