From 3d9285f1be84db7ecec821b75f67964dc4773a65 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Sat, 16 May 2020 00:10:35 +0200 Subject: Added check for invalid HTTP URLs --- src/include/ndpi_define.h.in | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include/ndpi_define.h.in') diff --git a/src/include/ndpi_define.h.in b/src/include/ndpi_define.h.in index 77e961550..fd0575b03 100644 --- a/src/include/ndpi_define.h.in +++ b/src/include/ndpi_define.h.in @@ -278,6 +278,7 @@ #define NDPI_CLR_BIT(num, n) num &= ~(1UL << n) #define NDPI_CLR_BIT(num, n) num &= ~(1UL << n) #define NDPI_ISSET_BIT(num, n) (num & (1 << n)) +#define NDPI_ZERO_BIT(num) num = 0 /* this is a very very tricky macro *g*, * the compiler will remove all shifts here if the protocol is static... -- cgit v1.2.3