From nobody Sun Oct 20 15:02:04 2024 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 4XWhVj0KqHz5ZP8W; Sun, 20 Oct 2024 15:02:05 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XWhVh6w2hz42Cx; Sun, 20 Oct 2024 15:02:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729436525; 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=9U05s6AJm/nodoHg++lxkgaGd66kvCmiOU2ulPaFRLw=; b=wQD5ZrA1H4d0qeo4Zf1w3TLIRpZu4Z2hPFMrvN2CYYpsy665mwCgq3htkCdLu8HuXOp9Hs nL1teFyNUoMdzG8Kv9Jbljz5bgQaZv32olgjGcBaxSdMT8ONE2yIvJngrluctUGgdg9hbN XGJYajoEaGIYfNNOaZEcaoqGBtmEtS0fEXQ1zSK9Usu17AwGH1MR9p98yTCX7oZ5t9/ElH OFqbtf58RvQMFbwj//ZbVEepHS8z5V0t4ANZVYAgJzZfPYcI3XdemL2vDXMxipvpx7bG1p X7MrlABHDGc80b9Uzy8WNtAf937QRTzXPqUzZE9pyts6nLh0p2ipQAPJsSVBsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729436525; 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=9U05s6AJm/nodoHg++lxkgaGd66kvCmiOU2ulPaFRLw=; b=lwLdyX0lu8yzuRFT+Z+MjS+IsGQYTrv34Qm/s56XEqq9mUtls0hreZYKSRibvV9JrPbvN6 325gaJkDWKpbIdIh/S6sQjFN7qZGhJqNIctTPVmrm6W6KYDqAay8CnHylC01znErCFsG50 1DPAjKpxSvBGUvBDiHP/XLARCmx4pjBcvq6O+NEg2uafO3ARJm4UlbWhCwGhvJlDCr7ddK f9h5aiAhwNzt8qSpVfJBzTy+OWgNgVbCsYW+zpbKJ68fdkNeGQ/35Ki8Cx+cUqAIPFSOIV eIinDKUUhv5tS5K9a0ztmbyN7RFwaTSneOvltcVzJra0Vihehu9BQxthazaz1g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729436525; a=rsa-sha256; cv=none; b=txOhCWLTKNA7y3jbwFsSQATZW1lLKFAirI38uX5NDhBRgpsq/v88fYsu/Gf3DkDISwz4i3 PdD/TQYwd3lRtRWgB0fhFXD6186lTxw29vJA8faRTrB9tvAVYSzUJmLuterMfBOe4sU2ox Y26I+NHlfnuzTpu2715S/X7kEvsJxJY75HdrcD5HPF32FBIxs/+zreHBdCzjZYoCJUWXX4 /AvX07HEBBzyrh6iwrJGA9kVDmzm3PyadnOElP8Go1ryu90N8q348UOHOkLlM3UAtGlL+Q ziFFBgGd36wamCsHYpYDHUUWr0CXUee9wvkaAOyof6grcwtpBjGChOZly4gisw== 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 4XWhVh6RL7z15fC; Sun, 20 Oct 2024 15:02:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49KF246x069067; Sun, 20 Oct 2024 15:02:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49KF24GW069064; Sun, 20 Oct 2024 15:02:04 GMT (envelope-from git) Date: Sun, 20 Oct 2024 15:02:04 GMT Message-Id: <202410201502.49KF24GW069064@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Zhenlei Huang Subject: git: edbeda6b7594 - stable/14 - netstat.1: Clarify -d argument 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zlei X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: edbeda6b759459a9c2c5e8e12b18294d41959270 Auto-Submitted: auto-generated The branch stable/14 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=edbeda6b759459a9c2c5e8e12b18294d41959270 commit edbeda6b759459a9c2c5e8e12b18294d41959270 Author: Bram AuthorDate: 2024-07-17 08:26:50 +0000 Commit: Zhenlei Huang CommitDate: 2024-10-20 14:59:46 +0000 netstat.1: Clarify -d argument The man page states that the -d flag can be used to show the dropped packets. But, the number of dropped input packets are always shown, independent of the -d flag. This commit clarifies that the -d flag will add the number of dropped output packets to the output. MFC after: 3 days Reviewed by: imp, Alexander Ziaee Pull Request: https://github.com/freebsd/freebsd-src/pull/1332 (cherry picked from commit 1d551845f3e864e618a10ec6427bd46d887d4280) --- usr.bin/netstat/netstat.1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/netstat/netstat.1 b/usr.bin/netstat/netstat.1 index c2c34deba8e3..0a1f3342168c 100644 --- a/usr.bin/netstat/netstat.1 +++ b/usr.bin/netstat/netstat.1 @@ -27,7 +27,7 @@ .\" .\" @(#)netstat.1 8.8 (Berkeley) 4/18/94 .\" -.Dd August 14, 2023 +.Dd July 29, 2024 .Dt NETSTAT 1 .Os .Sh NAME @@ -314,7 +314,7 @@ address with which they are associated. .It Fl b Show the number of bytes in and out. .It Fl d -Show the number of dropped packets. +Show the number of dropped output packets. .It Fl h Print all counters in human readable form. .It Fl n @@ -383,7 +383,7 @@ Show IPv6 only. See .Sx GENERAL OPTIONS . .It Fl d -Show the number of dropped packets. +Show the number of dropped output packets. .It Fl M Use an alternative core. See