Defined type ndpi_protocol_id_t for protocol identifiers

This commit is contained in:
Luca 2018-07-21 16:09:32 +02:00
parent 667e77c609
commit 591158bb92

View file

@ -289,7 +289,7 @@ typedef enum {
/* IMPORTANT:NDPI_LAST_IMPLEMENTED_PROTOCOL MUST BE THE LAST ELEMENT */
NDPI_LAST_IMPLEMENTED_PROTOCOL
} ndpi_protocol_ids;
} ndpi_protocol_id_t;
#define NDPI_PROTOCOL_NO_MASTER_PROTO NDPI_PROTOCOL_UNKNOWN
#define NDPI_MAX_SUPPORTED_PROTOCOLS NDPI_LAST_IMPLEMENTED_PROTOCOL