diff options
author | Luca Deri <deri@ntop.org> | 2020-05-16 00:10:35 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2020-05-16 00:10:35 +0200 |
commit | 3d9285f1be84db7ecec821b75f67964dc4773a65 (patch) | |
tree | e88b21c20d28baaea0b371849242d5c4648eb3a9 /src/include/ndpi_define.h.in | |
parent | c375782b96faf30558b3f91a7fe05eae62fc79c2 (diff) |
Added check for invalid HTTP URLs
Diffstat (limited to 'src/include/ndpi_define.h.in')
-rw-r--r-- | src/include/ndpi_define.h.in | 1 |
1 files changed, 1 insertions, 0 deletions
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... |