From 4704f48daa92a87caec1fba9e76dbf474e529368 Mon Sep 17 00:00:00 2001 From: Campus Date: Tue, 29 Mar 2016 15:07:16 +0200 Subject: minox fix dns --- src/lib/protocols/dns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib/protocols/dns.c b/src/lib/protocols/dns.c index 3be9c888b..503761137 100644 --- a/src/lib/protocols/dns.c +++ b/src/lib/protocols/dns.c @@ -121,9 +121,9 @@ void ndpi_search_dns(struct ndpi_detection_module_struct *ndpi_struct, struct nd { if(flow->host_server_name[j] < ' ') flow->host_server_name[j] = '.'; - off++; j++; } + off++; } } flow->host_server_name[j] = '\0'; -- cgit v1.2.3