diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-11-13 17:43:12 +0100 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-11-13 18:22:03 +0100 |
commit | 26aec8714e62a930bb2f288e30fc53a512713b26 (patch) | |
tree | 30b9029607d57a2d419bcec37bae5e6399993b7c /src | |
parent | 65f61fd5b1ff03951a2adfa12e4e34ab726b0f12 (diff) |
ndpi_main: fix enumeration value 'NDPI_PROTOCOL_CATEGORY_UNSPECIFIED' not handled in switch [-Wswitch]
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 6ec3546e2..b58b43c36 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -4465,6 +4465,9 @@ const char* ndpi_category_str(ndpi_protocol_category_t category) { case NDPI_PROTOCOL_CATEGORY_SYSTEM: return("System"); break; + case NDPI_PROTOCOL_CATEGORY_UNSPECIFIED: + return("Unspecified"); + break; } return("Unspecified"); |