summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2020-11-02 14:58:41 +0100
committerFlorian Westphal <fw@strlen.de>2020-11-09 12:19:31 +0100
commit8f591eba561aceeef605283c693b659a708d1cd3 (patch)
tree2147fffb8b87a51cabe2ab19d13b62cfd290808f /src
parent41158e0388ac56380fc0ee301f0d43f95ec43fab (diff)
tcpopt: rename noop to nop
'nop' is the tcp padding "option". "noop" is retained for compatibility on parser side. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src')
-rw-r--r--src/tcpopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tcpopt.c b/src/tcpopt.c
index 8d5bdec5..17cb580d 100644
--- a/src/tcpopt.c
+++ b/src/tcpopt.c
@@ -27,7 +27,7 @@ static const struct exthdr_desc tcpopt_eol = {
};
static const struct exthdr_desc tcpopt_nop = {
- .name = "noop",
+ .name = "nop",
.type = TCPOPT_KIND_NOP,
.templates = {
[TCPOPTHDR_FIELD_KIND] = PHT("kind", 0, 8),