Subject: Re: telnet 0
To: None <itojun@iijlab.net>
From: Nigel Reed <nigel@nelgin.nu>
List: current-users
Date: 11/10/2000 18:33:42
Noted. It's still a pain to type telnet 127.0.0.1 instead of 
telnet 0

Any chance telnet can just change a 0 to 127.0.0.1? I'd patch it
myself except I know little more than "hello world".

Regards
Nigel

On Sat, Nov 11, 2000 at 09:23:13AM +0900, itojun@iijlab.net wrote:
> 
> >>In 1.4.2/1.4.3 I used to be able to type
> >>  telnet 0
> >>and that would connect to my own system. This is true with several
> >>other unix platforms.
> >>I notice this doesn't work on i386/1.5_ALPHA2
> >>Was this accidentally broken, done on purpose or just something wrong
> >>with my config?
> >	we no longer use inet_aton() for name lookup within telnet (and some
> >	other commands).  "0" is ancient IPv6 address notation in
> >	classful address form (like 127.1) and should not be used these days...
> >	use dot-quad.
> 
> 	err, s/IPv6/IPv4/ above.
> 
> itojun

--