[4653] in Athena Bugs

home help back first fref pref prev next nref lref last post

/etc/ping x

daemon@ATHENA.MIT.EDU (John Carr)
Sat Mar 31 19:56:56 1990

To: bugs@ATHENA.MIT.EDU
Date: Sat, 31 Mar 90 19:37:37 EST
From: John Carr <jfc@ATHENA.MIT.EDU>

"ping" allows you to give a hex address, but the parser is broken:  

	% /etc/ping x
	PING x: 56 data bytes
	64 bytes from 0.0.0.0: icmp_seq=0. time=5. ms
	64 bytes from 0.0.0.0: icmp_seq=1. time=5. ms

It allows you to put any number of hex digits (including 0) after the 'x'.
It should require 8 hex digits and a leading '0x' (in case a machine name
begins with an x).


home help back first fref pref prev next nref lref last post