diff options
author | Simone Mainardi <mainardi@ntop.org> | 2018-07-20 18:52:00 +0200 |
---|---|---|
committer | Simone Mainardi <mainardi@ntop.org> | 2018-07-20 18:52:00 +0200 |
commit | d9c963061bbe561af4ea1e223fc4589fe333570d (patch) | |
tree | 0dd6e95508875844fc7fd17d5b23d51566c80e96 /src | |
parent | 30b72eae64cb9379015a183a7d49da24b564c85f (diff) |
Fixes invalid NDPI_MAX_SUPPORTED_PROTOCOLS
Diffstat (limited to 'src')
-rw-r--r-- | src/include/ndpi_protocol_ids.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/include/ndpi_protocol_ids.h b/src/include/ndpi_protocol_ids.h index 6d7b5ba8b..1a7671169 100644 --- a/src/include/ndpi_protocol_ids.h +++ b/src/include/ndpi_protocol_ids.h @@ -286,9 +286,13 @@ #define NDPI_PROTOCOL_VIDTO 243 /* VidTO streaming service */ #define NDPI_PROTOCOL_RAPIDVIDEO 244 /* RapidVideo streaming */ #define NDPI_PROTOCOL_SHOWMAX 245 /* showmax.com video streaming */ - -/* UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE */ -#define NDPI_LAST_IMPLEMENTED_PROTOCOL NDPI_PROTOCOL_RAPIDVIDEO +/* IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT */ +/* */ +/* If you add new NDPI protocol defines after the last, DON'T forget */ +/* to update constant NDPI_LAST_IMPLEMENTED_PROTOCOL below !!! */ +/* */ +/* IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT */ +#define NDPI_LAST_IMPLEMENTED_PROTOCOL NDPI_PROTOCOL_SHOWMAX #define NDPI_MAX_SUPPORTED_PROTOCOLS (NDPI_LAST_IMPLEMENTED_PROTOCOL + 1) #define NDPI_MAX_NUM_CUSTOM_PROTOCOLS (NDPI_NUM_BITS-NDPI_LAST_IMPLEMENTED_PROTOCOL) |