From 83de3e4716eb7dcc373f0fcad4b59e83ea140fb1 Mon Sep 17 00:00:00 2001 From: Nardi Ivan Date: Thu, 22 Sep 2022 09:03:29 +0200 Subject: DNS: change category of DNS flows DNS flows should have `NDPI_PROTOCOL_CATEGORY_NETWORK` as category, regardless of the subprotocol (if any). --- src/lib/ndpi_main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/ndpi_main.c') diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 9dd098653..173c98258 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -7641,6 +7641,7 @@ static int category_depends_on_master(int proto) case NDPI_PROTOCOL_MAIL_POPS: case NDPI_PROTOCOL_MAIL_SMTPS: case NDPI_PROTOCOL_MAIL_IMAPS: + case NDPI_PROTOCOL_DNS: return 1; } return 0; -- cgit v1.2.3