aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoremanuele-f <black.silver@hotmail.it>2016-12-29 23:41:09 +0100
committeremanuele-f <black.silver@hotmail.it>2016-12-29 23:41:09 +0100
commit2ac04dba4d154fbee598a9f3c422f09ffc697065 (patch)
tree7cfb9d77042f4cb9228f657459f8686807e28bbe /src
parente7fbcc690b323add6d707c581276dd67f88b1236 (diff)
Add enum items number
Diffstat (limited to 'src')
-rw-r--r--src/include/ndpi_typedefs.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h
index 8d799a6c1..91140bb06 100644
--- a/src/include/ndpi_typedefs.h
+++ b/src/include/ndpi_typedefs.h
@@ -750,7 +750,12 @@ typedef enum {
NDPI_PROTOCOL_CATEGORY_COLLABORATIVE, /* Software for collaborative development */
NDPI_PROTOCOL_CATEGORY_RPC, /* High level network communication protocols */
NDPI_PROTOCOL_CATEGORY_NETWORK_TOOL, /* Network administration and monitor protocols */
- NDPI_PROTOCOL_CATEGORY_SYSTEM /* System level applications */
+ NDPI_PROTOCOL_CATEGORY_SYSTEM, /* System level applications */
+
+ NdpiProtocolCategoryN /* Unused as value but useful to
+ getting the number of elements
+ in this datastructure
+ */
} ndpi_protocol_category_t;
/* ntop extensions */