aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2019-09-30 17:28:41 +0200
committerLuca Deri <deri@ntop.org>2019-09-30 17:28:41 +0200
commit1361c8fbdf4f4a33db7503dce5c6cd232a7c3fbf (patch)
tree912f6ee28cfdef03e820e93e0b50996a9d8995c8 /src
parentf2a5bbef173ee7f5447871f26024b9639735c096 (diff)
Updated the logic of ndpi_is_subprotocol_informative()
Diffstat (limited to 'src')
-rw-r--r--src/lib/ndpi_main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c
index c17b971a1..a4a69eab8 100644
--- a/src/lib/ndpi_main.c
+++ b/src/lib/ndpi_main.c
@@ -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;