git: a2d1360142f6 - main - ping: The -C option is also supported for IPv6.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 19 Sep 2023 08:47:25 UTC
The branch main has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=a2d1360142f609485c9301df08cc99140743ef2b
commit a2d1360142f609485c9301df08cc99140743ef2b
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2023-09-19 08:47:11 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2023-09-19 08:47:11 +0000
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
---
sbin/ping/main.c | 2 +-
sbin/ping/ping.8 | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/sbin/ping/main.c b/sbin/ping/main.c
index 47d20f569008..6321178e1228 100644
--- a/sbin/ping/main.c
+++ b/sbin/ping/main.c
@@ -211,7 +211,7 @@ usage(void)
"Z"
#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] "
"[-m hoplimit]\n"
"\t [-p pattern]"
diff --git a/sbin/ping/ping.8 b/sbin/ping/ping.8
index 7419aef51dfa..34ffc98c3a40 100644
--- a/sbin/ping/ping.8
+++ b/sbin/ping/ping.8
@@ -27,7 +27,7 @@
.\"
.\" @(#)ping.8 8.2 (Berkeley) 12/11/93
.\"
-.Dd November 20, 2022
+.Dd September 15, 2023
.Dt PING 8
.Os
.Sh NAME
@@ -81,6 +81,7 @@ packets to network hosts
.Op Fl 6AaDdEfHNnOoquvYyZ
.Op Fl .\& Ns Ar chars
.Op Fl b Ar bufsiz
+.Op Fl C Ar pcp
.Op Fl c Ar count
.Op Fl e Ar gateway
.Op Fl I Ar interface