ndpi_main: fix enumeration value 'NDPI_PROTOCOL_CATEGORY_UNSPECIFIED' not handled in switch [-Wswitch]

This commit is contained in:
Alexis La Goutte
2016-11-13 18:22:03 +01:00
parent 65f61fd5b1
commit 26aec8714e
+3
View File
@@ -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");