[PATCH] Fix payload lengths in ping(6)

Rob Landley rob at landley.net
Sat Apr 1 17:29:20 UTC 2006


On Saturday 01 April 2006 4:02 am, KRONSTORFER Horst wrote:
> > Could you explain a little about what was broken so I could do a better
> > checkin comment?
>
> the amount of data sent out with each icmp echo was broken (too much)
> with respect to the default setting (56) respectively the '-s' option.
> this affects both simple and fancy ping.
>
> example of broken behaviour (fancy ping):
>
> / # ping -c 1 172.16.2.1
> PING 172.16.2.1 (172.16.2.1): 56 data bytes
> 84 bytes from 172.16.2.1: icmp_seq=0 ttl=64 time=0.2 ms
> / #
>
> tracing the icmp echo with a packet logger reveals that 76 data bytes
> instead of the stated 56 data bytes were sent out.
>
> -h

Applied.  Thanks,

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list