Improved snapchat detection

This commit is contained in:
Luca
2019-03-22 12:36:42 +01:00
parent 6c9fbc2ddb
commit 5656a41f69
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -2351,7 +2351,7 @@ struct ndpi_detection_module_struct *ndpi_init_detection_module(void) {
if((sizeof(categories)/sizeof(char*)) != NDPI_PROTOCOL_NUM_CATEGORIES) {
NDPI_LOG_ERR(ndpi_str, "[NDPI] invalid categories length: expected %u, got %u\n",
NDPI_PROTOCOL_NUM_CATEGORIES, (sizeof(categories)/sizeof(char*)));
NDPI_PROTOCOL_NUM_CATEGORIES, (unsigned int)(sizeof(categories)/sizeof(char*)));
return(NULL);
}