Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Sep 2023 08:11:03 GMT
From:      Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?= <des@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: a944ba1225c5 - stable/14 - ping: The -C option is also supported for IPv6.
Message-ID:  <202309220811.38M8B3Sd075217@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by des:

URL: https://cgit.FreeBSD.org/src/commit/?id=a944ba1225c5c26ca2698e9c172d2df1026a8e0f

commit a944ba1225c5c26ca2698e9c172d2df1026a8e0f
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-22 07:50:32 +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
    
    (cherry picked from commit a2d1360142f609485c9301df08cc99140743ef2b)
---
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309220811.38M8B3Sd075217>