aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2024-02-10 09:16:27 +0100
committerGitHub <noreply@github.com>2024-02-10 09:16:27 +0100
commitad25affcb7e40e64fa06c5f63e2eab0f12c7f517 (patch)
treedf148fe9482c1124aabb92e87c83133bb20116d3 /src
parent31f0608b9aef16b8036c0509b63a3fe5efd6d17c (diff)
reader_util: fix GRE detunneling (#2314)
Diffstat (limited to 'src')
-rw-r--r--src/include/ndpi_typedefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h
index ee3128360..324e31c12 100644
--- a/src/include/ndpi_typedefs.h
+++ b/src/include/ndpi_typedefs.h
@@ -596,7 +596,7 @@ struct ndpi_vxlanhdr {
#define NDPI_GRE_STRICT ntohs(0x0800)
#define NDPI_GRE_REC ntohs(0x0700)
#define NDPI_GRE_ACK ntohs(0x0080)
-#define NDPI_GRE_FLAGS ntohs(0x00f8)
+#define NDPI_GRE_FLAGS ntohs(0x0078)
#define NDPI_GRE_VERSION ntohs(0x0007)
#define NDPI_GRE_IS_CSUM(f) ((f) & NDPI_GRE_CSUM)