From nobody Fri Sep 29 01:25:30 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RxXj70qmwz4vtqX; Fri, 29 Sep 2023 01:25:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RxXj70Jn6z3gHX; Fri, 29 Sep 2023 01:25:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695950731; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=akcnmB2f4tTu6IYtZKQyHbQ9uF2226yJrzpi7dy427k=; b=oMD1M71CcrfgZsz9ku0FdsHoMRZQAfI7WdbJQmjnO01hN0iGi8DvJDnTzR+c2xmV5zjOMs As3kjM2eA6O8Bco7hvKk7uY6AT/n+SrhP513OjM+QJBK0ZkCrMIISDH9FBFPyZ+VSBcvVE c6NgR0p+YrLXEf4nT1oojAvKOV/qdjW7uNtxbHlnz8usA/1LxwGN1qdpc81E439TI8StwG d9sXWMAKY87yUkttdIW+1BcsNzJsjDU8BN+elppWN1dCVO6TXq3HIWipir0I82PdxQERsp IaOQNH+Az7coCyEZVaqQMSE5LrL9CrYpdQ5E510LnNeZHnCQDN6f808if/tLoA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695950731; a=rsa-sha256; cv=none; b=u1qwOLzOIR25k6aE+cGM0Sr+6Cl76wkcSR/HmH1b+fKlNNJn+JJL9Tv7b2N8ryI5zpBRcF IrmL2hA9dEHY8EDLWfVkL8FzVlehfioMm6K3afZVFDvnNmFdr2W8P53lPMelpLc75+jwLj 0IwZwNlD9UB1QVntacbDUBJOUvqslUhrPuR5vKvFEssxtjtHNQuLFpx5D/iy2UsiHYH3vC 6acw6gw3NQ0fh+60R83a0JzW2soYNxHIrLaem2TFJCqsSivkNwVUqJeZpryBpl7MnLRd/P gfvN1b4rsaAkXBgLTPcsq5rHajjO7PUvifyiGnYCx27K6bDrp8x0tbzg5eKEMA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695950731; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=akcnmB2f4tTu6IYtZKQyHbQ9uF2226yJrzpi7dy427k=; b=mb0L2RKrca2gM+fUE2E5WF3DjBD1LCbN3+WwIzQLduKRdWGICUwQhADGS//U3cYdImzbGe WrOTfdIcFJ2Wl6QktKU21ahRaCu1RQ/o6KaleH+cO8t2sHSbyXOfQUJSJkBh/xYviVu7vr RkPNcjsf3y2Z3/xs7DVT32i5m7gSRip59dZGJqD8UVpHaotQlTicSrv/6ue3OQNok6Rcw3 bduvONW5wC25nf48J75xdanUHDieNVWk3pSwMeXwgtOOtixviWHP693U2YkPM50+edq0uw qiZZyHjN/kOlkljWZmKLD8PnQfNCzCKEhwzu63q8jNOLFUIEuimaqK3fIafu8w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RxXj66QVVzktL; Fri, 29 Sep 2023 01:25:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 38T1PULV071983; Fri, 29 Sep 2023 01:25:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38T1PU9j071980; Fri, 29 Sep 2023 01:25:30 GMT (envelope-from git) Date: Fri, 29 Sep 2023 01:25:30 GMT Message-Id: <202309290125.38T1PU9j071980@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?= Subject: git: 12e9c689246e - stable/13 - ping: The -C option is also supported for IPv6. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: des X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 12e9c689246e7ac81536dbf9583478f4b8823332 Auto-Submitted: auto-generated 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 AuthorDate: 2023-09-19 08:47:11 +0000 Commit: Dag-Erling Smørgrav 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