ndpi_main: fix enumeration value 'NDPI_PROTOCOL_CATEGORY_UNSPECIFIED' not handled in switch [-Wswitch]
This commit is contained in:
@@ -4465,6 +4465,9 @@ const char* ndpi_category_str(ndpi_protocol_category_t category) {
|
|||||||
case NDPI_PROTOCOL_CATEGORY_SYSTEM:
|
case NDPI_PROTOCOL_CATEGORY_SYSTEM:
|
||||||
return("System");
|
return("System");
|
||||||
break;
|
break;
|
||||||
|
case NDPI_PROTOCOL_CATEGORY_UNSPECIFIED:
|
||||||
|
return("Unspecified");
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return("Unspecified");
|
return("Unspecified");
|
||||||
|
|||||||
Reference in New Issue
Block a user