git: c2b53b107e0e - main - tcpdrop: tweak comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 Dec 2021 15:59:08 UTC
The branch main has been updated by tuexen:
URL: https://cgit.FreeBSD.org/src/commit/?id=c2b53b107e0ee1da69921df106a37fffa44bebc5
commit c2b53b107e0ee1da69921df106a37fffa44bebc5
Author: Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2021-12-04 14:08:01 +0000
Commit: Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2021-12-04 14:08:01 +0000
tcpdrop: tweak comments
MFC after: 1 week
Sponsored by: Netflix, Inc.
---
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,