From 26aec8714e62a930bb2f288e30fc53a512713b26 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Sun, 13 Nov 2016 17:43:12 +0100 Subject: ndpi_main: fix enumeration value 'NDPI_PROTOCOL_CATEGORY_UNSPECIFIED' not handled in switch [-Wswitch] --- src/lib/ndpi_main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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"); -- cgit v1.2.3