Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Dec 2021 10:45:46 GMT
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 30cc62189539 - stable/13 - tcpdrop: tweak comments
Message-ID:  <202112101045.1BAAjkpL019658@gitrepo.freebsd.org>

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

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

commit 30cc6218953989191839e04fb86203482b438f74
Author:     Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2021-12-04 14:08:01 +0000
Commit:     Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2021-12-10 10:45:33 +0000

    tcpdrop: tweak comments
    
    Sponsored by:   Netflix, Inc.
    
    (cherry picked from commit c2b53b107e0ee1da69921df106a37fffa44bebc5)
---
 usr.sbin/tcpdrop/tcpdrop.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/usr.sbin/tcpdrop/tcpdrop.c b/usr.sbin/tcpdrop/tcpdrop.c
index 89056f30672c..135f1b52c403 100644
--- a/usr.sbin/tcpdrop/tcpdrop.c
+++ b/usr.sbin/tcpdrop/tcpdrop.c
@@ -253,7 +253,7 @@ tcpdropall(const char *ca_name, const char *stack, int state)
 		 * Check protocol, support just v4 or v6, etc.
 		 */
 
-		/* Ignore PCBs which were freed during copyout.  */
+		/* Ignore PCBs which were freed during copyout. */
 		if (xip->inp_gencnt > head->xig_gen)
 			continue;
 
@@ -292,7 +292,7 @@ tcpdropbyname(const char *lhost, const char *lport, const char *fhost,
 {
 	static const struct addrinfo hints = {
 		/*
-		 * Look for streams in all domains.
+		 * Look for TCP streams in all domains.
 		 */
 		.ai_family = AF_UNSPEC,
 		.ai_socktype = SOCK_STREAM,



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