Re: Ping - error?

Miquel van Smoorenburg (miquels@cistron.nl)
12 Jun 1998 17:00:14 +0200


In article <199806120927.MAA05006@roos.tartu-labor>,
Meelis Roos <mroos@tartu.cyber.ee> wrote:
>BS> rlis6:/root # ping 192.168.33.036
>BS> PING 192.168.33.036 (192.168.33.30): 56 data bytes
>
>It seems to be a feature of inet_aton which seems to interpret
>the octet as octal when it is preceded by 0.

Yes what to think of this:

$ bc
bc 1.04
Copyright (C) 1991, 1992, 1993, 1994, 1997 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
195 *2^24 + 64*2^16 + 65*2^8 + 42
3275768106

% ping 3275768106
PING 3275768106 (195.64.65.42): 56 data bytes
64 bytes from 195.64.65.42: icmp_seq=0 ttl=63 time=1.7 ms
64 bytes from 195.64.65.42: icmp_seq=1 ttl=63 time=0.8 ms

Cool huh :) Now I still need to add 3275768106 to sendmail.cw and you can
email me at miquels@[3275768106]

Mike.

-- 
 Miquel van Smoorenburg | Our vision is to speed up time,
    miquels@cistron.nl  |   eventually eliminating it.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu