Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sbin/ping
On Dec 30, 7:53am, gdt%ir.bbn.com@localhost (Greg Troxel) wrote:
-- Subject: Re: CVS commit: src/sbin/ping
| 3. Always send ICMP_MINLEN packets; this is what everyone else does. Makes
| ping -s n where n < 8 work.
|
| Shouldn't that be an error? Otherwise people will think that something
| is happening when it isn't.
Currently we are doing approximately what other ping implementations are doing:
ping -s 1 localhost
linux:
PING localhost (127.0.0.1) 1(29) bytes of data.
9 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64
macosx
PING localhost (127.0.0.1): 1 data bytes
9 bytes from 127.0.0.1: icmp_seq=0 ttl=64
netbsd-old
PING localhost (127.0.0.1): 1 data bytes
[no response]
netbsd-current
PING localhost (127.0.0.1): 1 data bytes
8 bytes from 127.0.0.1: icmp_seq=0 ttl=255
We can change it anyway we want...
christos
Home |
Main Index |
Thread Index |
Old Index