aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2017-01-02 21:52:53 +0100
committerLuca Deri <deri@ntop.org>2017-01-02 21:52:53 +0100
commit1a3ee318658fd26f96f2f383c457c2c0b556148c (patch)
treefcda4dcecf3c563870cab0c789a607dfae2a7dbf /src
parent721af38aedd219b159d7a7619c50f3d64fbeef85 (diff)
Renamed enum constant
Diffstat (limited to 'src')
-rw-r--r--src/include/ndpi_typedefs.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h
index 91140bb06..0c07dd137 100644
--- a/src/include/ndpi_typedefs.h
+++ b/src/include/ndpi_typedefs.h
@@ -752,10 +752,11 @@ typedef enum {
NDPI_PROTOCOL_CATEGORY_NETWORK_TOOL, /* Network administration and monitor protocols */
NDPI_PROTOCOL_CATEGORY_SYSTEM, /* System level applications */
- NdpiProtocolCategoryN /* Unused as value but useful to
- getting the number of elements
- in this datastructure
- */
+ NDPI_PROTOCOL_NUM_CATEGORIES /*
+ NOTE: Keep this as last member
+ Unused as value but useful to getting the number of elements
+ in this datastructure
+ */
} ndpi_protocol_category_t;
/* ntop extensions */