From 85de6fc3a75b13590b6fe0bfb585dd74b960e166 Mon Sep 17 00:00:00 2001 From: bol-van Date: Wed, 18 Sep 2024 07:20:14 +0300 Subject: [PATCH] nfqws: safety assignment --- nfq/desync.c | 1 + 1 file changed, 1 insertion(+) diff --git a/nfq/desync.c b/nfq/desync.c index 6dda27d..acc3b42 100644 --- a/nfq/desync.c +++ b/nfq/desync.c @@ -186,6 +186,7 @@ static struct desync_profile *dp_find( { struct desync_profile_list *dpl; DLOG("desync profile search for hostname='%s' ipv6=%u tcp_port=%u udp_port=%u\n", hostname ? hostname : "", ipv6, tcp_port, udp_port); + if (bCheckDone) *bCheckDone = false; LIST_FOREACH(dpl, head, next) { if (dp_match(&dpl->dp,ipv6,tcp_port,udp_port,hostname,bCheckDone,bCheckResult,bExcluded))