summaryrefslogtreecommitdiffstats
path: root/src/payload.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/payload.c')
-rw-r--r--src/payload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/payload.c b/src/payload.c
index 0d223608..ea0d4e26 100644
--- a/src/payload.c
+++ b/src/payload.c
@@ -1010,7 +1010,7 @@ const struct datatype ethertype_type = {
.type = TYPE_ETHERTYPE,
.name = "ethertype",
.desc = "Ethernet protocol",
- .byteorder = BYTEORDER_HOST_ENDIAN,
+ .byteorder = BYTEORDER_BIG_ENDIAN,
.size = 2 * BITS_PER_BYTE,
.basetype = &integer_type,
.basefmt = "0x%.4Zx",