diff options
author | Luca <deri@ntop.org> | 2017-01-02 22:05:40 +0100 |
---|---|---|
committer | Luca <deri@ntop.org> | 2017-01-02 22:05:40 +0100 |
commit | e44834e0c5e07a4ce1845ba2594b36fa4e811a13 (patch) | |
tree | 4763adaaa445f3e9275f6616866d9ad171731cfd /src | |
parent | 1a3ee318658fd26f96f2f383c457c2c0b556148c (diff) |
Fixed warning
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/ndpi_main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 87a555024..81fd68f29 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -4512,6 +4512,9 @@ const char* ndpi_category_str(ndpi_protocol_category_t category) { case NDPI_PROTOCOL_CATEGORY_UNSPECIFIED: return("Unspecified"); break; + case NDPI_PROTOCOL_NUM_CATEGORIES: + return("Code should not use this internal constant"); + break; } return("Unspecified"); |