Subject: Re: telnet 0: No address associated with hostname
To: None <hubert.feyrer@informatik.fh-regensburg.de>
From: Jun-ichiro itojun Hagino <itojun@iijlab.net>
List: tech-net
Date: 07/29/2000 12:34:04
>In 1.5_ALPHA, neither '0' nor '127.1' work as IP numbers, whereas
>'0.0.0.0' and '127.0.0.1' work. What's the idea behind this?
this is because we switched name resolution code in telnet(1) from
inet_aton(3) to getaddrinfo(3). getaddrinfo(3) is specified to take
full dot-quad only. do we need to provide backward compatibility
for this? if so, we need to perform:
inet_aton -> inet_ntop -> getaddrinfo
itojun