From ad25affcb7e40e64fa06c5f63e2eab0f12c7f517 Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Sat, 10 Feb 2024 09:16:27 +0100 Subject: reader_util: fix GRE detunneling (#2314) --- src/include/ndpi_typedefs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3