summaryrefslogtreecommitdiffstats
path: root/src/scanner.l
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2021-11-21 23:32:57 +0100
committerFlorian Westphal <fw@strlen.de>2021-12-01 14:11:39 +0100
commitd59a09f33eb14c5a53535d4830a158568746babe (patch)
tree95e4f05ab4ecd55f0be02be06c79b9f82ccf31cd /src/scanner.l
parentfa564b6ce7e595a11f27896e47dedc7b5af2e33d (diff)
tcpopt: remove KIND keyword
tcp option <foo> kind ... never makes any sense, as "tcp option <foo>" already tells the kernel to look for the foo <kind>. "tcp option sack kind 5" matches if the sack option is present; its a more complicated form of the simpler "tcp option sack exists". "tcp option sack kind 1" (or any other value than 5) will never match. So remove this. Test cases are converted to "exists". Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src/scanner.l')
-rw-r--r--src/scanner.l1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/scanner.l b/src/scanner.l
index 6cc7778d..455ef99f 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -481,7 +481,6 @@ addrstring ({macaddr}|{ip4addr}|{ip6addr})
"timestamp" { return TIMESTAMP; }
"time" { return TIME; }
-"kind" { return KIND; }
"count" { return COUNT; }
"left" { return LEFT; }
"right" { return RIGHT; }