From 740cbfbc34af85c944bb16e97cd6daf80601bad6 Mon Sep 17 00:00:00 2001 From: bol-van Date: Sun, 1 Feb 2026 14:32:18 +0300 Subject: [PATCH] nfqws2: copy param set bool --- nfq2/params.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nfq2/params.c b/nfq2/params.c index a73b4b1..d855ed7 100644 --- a/nfq2/params.c +++ b/nfq2/params.c @@ -414,7 +414,7 @@ struct desync_profile_list *dp_list_add(struct desync_profile_list_head *head) return entry; } -#define DP_COPY_SIMPLE(v) if (from->b_##v) to->v=from->v; +#define DP_COPY_SIMPLE(v) if (from->b_##v) {to->v=from->v; to->b_##v=true;} bool dp_copy(struct desync_profile *to, const struct desync_profile *from) { DP_COPY_SIMPLE(hostlist_auto_fail_threshold)