git: 300914a0ffb8 - main - tcpdrop: use a better name of a variable.

From: Michael Tuexen <tuexen_at_FreeBSD.org>
Date: Sat, 04 Dec 2021 12:49:01 UTC
The branch main has been updated by tuexen:

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

commit 300914a0ffb8b18ace16e6d40fc41270e6039b2e
Author:     Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2021-12-04 12:46:43 +0000
Commit:     Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2021-12-04 12:48:41 +0000

    tcpdrop: use a better name of a variable.
    
    No functional change intended.
    
    MFC after:      1 week
    Sponsored by:   Netflix, Inc.
---
 usr.sbin/tcpdrop/tcpdrop.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/usr.sbin/tcpdrop/tcpdrop.c b/usr.sbin/tcpdrop/tcpdrop.c
index 1c854c0b29e8..f05c027362b8 100644
--- a/usr.sbin/tcpdrop/tcpdrop.c
+++ b/usr.sbin/tcpdrop/tcpdrop.c
@@ -68,11 +68,11 @@ main(int argc, char *argv[])
 {
 	char stack[TCP_FUNCTION_NAME_LEN_MAX];
 	char *lport, *fport;
-	bool dropall, dropallstack;
+	bool dropall, dropspecific;
 	int ch, state;
 
 	dropall = false;
-	dropallstack = false;
+	dropspecific = false;
 	stack[0] = '\0';
 	state = -1;
 
@@ -85,11 +85,11 @@ main(int argc, char *argv[])
 			tcpdrop_list_commands = true;
 			break;
 		case 'S':
-			dropallstack = true;
+			dropspecific = true;
 			strlcpy(stack, optarg, sizeof(stack));
 			break;
 		case 's':
-			dropallstack = true;
+			dropspecific = true;
 			for (state = 0; state < TCP_NSTATES; state++) {
 				if (strcmp(tcpstates[state], optarg) == 0)
 					break;
@@ -106,9 +106,9 @@ main(int argc, char *argv[])
 	    state == TCPS_CLOSED ||
 	    state == TCPS_LISTEN)
 		usage();
-	if (dropall && dropallstack)
+	if (dropall && dropspecific)
 		usage();
-	if (dropall || dropallstack) {
+	if (dropall || dropspecific) {
 		if (argc != 0)
 			usage();
 		if (!tcpdropall(stack, state))