cvs commit: src/sbin/ping6 ping6.8 ping6.c
Bjoern A. Zeeb
bz at FreeBSD.org
Tue May 27 10:51:21 UTC 2008
bz 2008-05-27 10:51:19 UTC
FreeBSD src repository
sbin/ping6 ping6.8 ping6.c
Change the exit status for 0 and 2 to be the same as with ping(1)
and be usable in scripts, etc.
This also changes the semantics in case when we lose one of n packets.
In that case, before we exited by SIG, now we exit with return(0).
Submitted by: Gert Doering (gert space.net)
MFC after: 10 days
Revision Changes Path
1.25 +4 -2 src/sbin/ping6/ping6.8
1.34 +5 -2 src/sbin/ping6/ping6.c
More information about the cvs-all