aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tcp.h
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@wireshark.org>2022-08-13 12:00:40 +0200
committerA Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2022-08-13 11:08:55 +0000
commita033dc7dc6ddcb8a096a0b44d22477b3bce2a1f1 (patch)
tree2c134040bc9e6d26fd93f62045dfac20ef3d4c8e /epan/dissectors/packet-tcp.h
parentb5cea67768f5ab6aff66798acfd4a132454623f6 (diff)
TCP: cleanup ECN related flags
The ECN-Echo flag is abbreviated in RFC 3168 using ECE, not ECN. In addition, when displaying the flags, no abbreviations are used. Therefore, do the same for the CWR flag.
Diffstat (limited to 'epan/dissectors/packet-tcp.h')
-rw-r--r--epan/dissectors/packet-tcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tcp.h b/epan/dissectors/packet-tcp.h
index c4687a9b93..213de33a8d 100644
--- a/epan/dissectors/packet-tcp.h
+++ b/epan/dissectors/packet-tcp.h
@@ -27,7 +27,7 @@ extern "C" {
#define TH_PUSH 0x0008
#define TH_ACK 0x0010
#define TH_URG 0x0020
-#define TH_ECN 0x0040
+#define TH_ECE 0x0040
#define TH_CWR 0x0080
#define TH_NS 0x0100
#define TH_RES 0x0E00 /* 3 reserved bits */