aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLuca Deri <lucaderi@users.noreply.github.com>2020-04-21 19:23:57 +0200
committerGitHub <noreply@github.com>2020-04-21 19:23:57 +0200
commit019b51bb178d83405d5c01ce604f240c0914f9df (patch)
tree0ec2ba19365c66b9dba49cf35397762e5cbc030d /src/include
parente2be7daed6b298e214df91f54061cdac91cd8781 (diff)
parentb1a6c6b8957b62ec8ada423abfdcfa5471c00147 (diff)
Merge pull request #879 from IvanNardi/warnings
Fix some compilation warnings
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ndpi_typedefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h
index 69b6b3641..261a05425 100644
--- a/src/include/ndpi_typedefs.h
+++ b/src/include/ndpi_typedefs.h
@@ -966,7 +966,7 @@ typedef struct ndpi_proto {
ndpi_protocol_category_t category;
} ndpi_protocol;
-#define NDPI_PROTOCOL_NULL { NDPI_PROTOCOL_UNKNOWN , NDPI_PROTOCOL_UNKNOWN }
+#define NDPI_PROTOCOL_NULL { NDPI_PROTOCOL_UNKNOWN , NDPI_PROTOCOL_UNKNOWN , NDPI_PROTOCOL_CATEGORY_UNSPECIFIED }
#define NUM_CUSTOM_CATEGORIES 5
#define CUSTOM_CATEGORY_LABEL_LEN 32