From 1a3ee318658fd26f96f2f383c457c2c0b556148c Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Mon, 2 Jan 2017 21:52:53 +0100 Subject: Renamed enum constant --- src/include/ndpi_typedefs.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src') 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 */ -- cgit v1.2.3