Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Oct 2024 15:02:04 GMT
From:      Zhenlei Huang <zlei@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: edbeda6b7594 - stable/14 - netstat.1: Clarify -d argument
Message-ID:  <202410201502.49KF24GW069064@gitrepo.freebsd.org>

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

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

commit edbeda6b759459a9c2c5e8e12b18294d41959270
Author:     Bram <bram@cbbg.nl>
AuthorDate: 2024-07-17 08:26:50 +0000
Commit:     Zhenlei Huang <zlei@FreeBSD.org>
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



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