Updated the logic of ndpi_is_subprotocol_informative()

This commit is contained in:
Luca Deri
2019-09-30 17:28:41 +02:00
parent f2a5bbef17
commit 1361c8fbdf
+5
View File
@@ -248,7 +248,12 @@ u_int8_t ndpi_is_subprotocol_informative(struct ndpi_detection_module_struct *nd
return(0);
switch(protoId) {
/* All dissectors that have calls to ndpi_match_host_subprotocol() */
case NDPI_PROTOCOL_DNS:
case NDPI_PROTOCOL_HTTP:
case NDPI_PROTOCOL_TLS:
case NDPI_PROTOCOL_QUIC:
case NDPI_PROTOCOL_FBZERO:
return(1);
break;