Up to [cvs.NetBSD.org] / src / sbin / ping
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: netbsd-1-1
Revision 1.20 / (download) - annotate - [select for diffs], Fri Aug 11 22:37:58 1995 UTC (28 years, 8 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-PATCH001,
netbsd-1-2-BETA,
netbsd-1-2,
netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Changes since 1.19: +14 -10
lines
Diff to previous 1.19 (colored)
fix a couple of bugs pointed out by John Birrell, though fix some differently he did. (1) don't assume that the timeval in the packet is correctly aligned, (2) don't compare beyond the end of the packet, (3) minor cast for printf happiness.