From nobody Sun Oct 20 15:03:18 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 4XWhX65BBcz5ZPny; Sun, 20 Oct 2024 15:03:18 +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 4XWhX64VqFz42qw; Sun, 20 Oct 2024 15:03:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729436598; 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=fUUizSNXHUomoiAcz0BE44W/VN1qJ6Kqn9hxBiWflUM=; b=mAICs5RnRF9u4qis1VPoikp21YDwGs/MUJLDwNlhDZqwDvOROkX+Y4Kh/8B9KhJa5k558V P4PaytrhLHN0i1yjFFq58JT1E1VRWfDiBDEZmQg0yuRFdVv1PRgd9VmpLLRV5TqBKjy6QF 20l/Ih5wP4SaC0T1LpP+5Ns7qO5TJrRSi/feUFR9IvX5c/pWdZm12LYs3Q1U1P56XjK0Yf CJMvM77IaJFqB/Q+YOztTUN4Jhub5JDt7WQhZyHKwRWzisff/mFklAzqJKsOwzWQ6pdvUb 9CNcSV8Z0sOLY+jYoZb7wfHmymfT9Iw6kaHQ/9jP2UxdQBHUXGpo42S07PMf6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729436598; 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=fUUizSNXHUomoiAcz0BE44W/VN1qJ6Kqn9hxBiWflUM=; b=KlU+iEF0wNggD2UthUnSxdRxyAcwUG06VTAfVoeYWAnVuH6N5BnGjMPswKHt0u7jx+RNrd VpxuwP6Xq1ARU66+cUR1YuGABYJ9ZF1nvSqvhAMPa9+Jqhb4UzlZ/sFTmNm/jnea5Qp74e bNWv10JcwlzvyWJX+E+7jg8q6P+3ce/R0JXMy2u1bbGy3Pci4icQ54CfnpwHK8SrmURAbT FlcGaQKNcXZQ8vjZYWkGTdAZ3j4WzEKrfUqbkxVU0G3/DCF/1ydFnmpAERPuDaqeddqzXY snjZJgpXGgfF7MRXeP7aqgmQdOYWMBg7GT2wY6ftpWAKIksoQOKsCyFxW8czpg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729436598; a=rsa-sha256; cv=none; b=lSCT2lADFwH/HRDZpaDy+SMNjrQbRtGw6xv9Uk/ZzrvZCi8aaW4FPiXSPOW1ziox43VgS4 1IJI9iPTTt/456rqTO3ROo55r22ZRDC4sZUqgOMIzchaLnKcK5yn93tBFjsvEL/3q6tHoh joMjuAwFKvwvkQG7T57SZCDA7OKvxooT2i9afzRy84NpOKCXOXSEaVl/KbKq6dTPflSx1e ETLHaXSDyUOOPxOer6pkzF3hj/4ewU8Fm6VrvFlKbA69+Fc4pkvKZut7lhNx9eL+Ypbovg lCoTNmb5Wi0J1qM2fYE/tcK5QogFju0w3qwqu+ROClzMsuRVtO1G84zUBdc+ew== 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 4XWhX645syz161G; Sun, 20 Oct 2024 15:03:18 +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 49KF3IPR073110; Sun, 20 Oct 2024 15:03:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49KF3ICV073107; Sun, 20 Oct 2024 15:03:18 GMT (envelope-from git) Date: Sun, 20 Oct 2024 15:03:18 GMT Message-Id: <202410201503.49KF3ICV073107@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: f6711b97b228 - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: f6711b97b22899bc9b6d5cb0ef796ab79f4e8500 Auto-Submitted: auto-generated The branch stable/13 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=f6711b97b22899bc9b6d5cb0ef796ab79f4e8500 commit f6711b97b22899bc9b6d5cb0ef796ab79f4e8500 Author: Bram AuthorDate: 2024-07-17 08:26:50 +0000 Commit: Zhenlei Huang CommitDate: 2024-10-20 15:02:18 +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) (cherry picked from commit edbeda6b759459a9c2c5e8e12b18294d41959270) --- 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 97e7c854711d..6767d48a279e 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 @@ -321,7 +321,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 @@ -390,7 +390,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