Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2023 01:25:30 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: 12e9c689246e - stable/13 - ping: The -C option is also supported for IPv6.
Message-ID:  <202309290125.38T1PU9j071980@gitrepo.freebsd.org>

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

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

commit 12e9c689246e7ac81536dbf9583478f4b8823332
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-29 00:34:54 +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 40060b3f8e97..22b16fe373ed 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?202309290125.38T1PU9j071980>