ping: The -C option is also supported for IPv6.

MFC after:	3 days
Sponsored by:	Klara, Inc.
Sponsored by:	NetApp, Inc.
Reviewed by:	rscheff, allanjude
Differential Revision:	https://reviews.freebsd.org/D41881
This commit is contained in:
Dag-Erling Smørgrav 2023-09-19 10:47:11 +02:00
parent 8f76bb7dad
commit a2d1360142
2 changed files with 3 additions and 2 deletions

View file

@ -211,7 +211,7 @@ usage(void)
"Z" "Z"
#endif #endif
"] " "] "
"[-b bufsiz] [-c count] [-e gateway]\n" "[-b bufsiz] [-C pcp] [-c count] [-e gateway]\n"
"\t [-I interface] [-i wait] [-k addrtype] [-l preload] " "\t [-I interface] [-i wait] [-k addrtype] [-l preload] "
"[-m hoplimit]\n" "[-m hoplimit]\n"
"\t [-p pattern]" "\t [-p pattern]"

View file

@ -27,7 +27,7 @@
.\" .\"
.\" @(#)ping.8 8.2 (Berkeley) 12/11/93 .\" @(#)ping.8 8.2 (Berkeley) 12/11/93
.\" .\"
.Dd November 20, 2022 .Dd September 15, 2023
.Dt PING 8 .Dt PING 8
.Os .Os
.Sh NAME .Sh NAME
@ -81,6 +81,7 @@ packets to network hosts
.Op Fl 6AaDdEfHNnOoquvYyZ .Op Fl 6AaDdEfHNnOoquvYyZ
.Op Fl .\& Ns Ar chars .Op Fl .\& Ns Ar chars
.Op Fl b Ar bufsiz .Op Fl b Ar bufsiz
.Op Fl C Ar pcp
.Op Fl c Ar count .Op Fl c Ar count
.Op Fl e Ar gateway .Op Fl e Ar gateway
.Op Fl I Ar interface .Op Fl I Ar interface