From ded4b046a8d011cf496589bf34d6418cf567e7ff Mon Sep 17 00:00:00 2001 From: Adam Kiripolsky Date: Tue, 14 Apr 2026 18:35:40 +0200 Subject: [PATCH] bypass: fix BypassManager BypassedCheckFunc check Switch check whether BypassedCheckFuncInit was registered to check whether BypassedCheckFunc was registered. Ticket: 8473 (cherry picked from commit 0a8e3132c2692e50181983d8fabc805b60c51c50) --- src/flow-bypass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flow-bypass.c b/src/flow-bypass.c index 94e8afeba8..a7070f11eb 100644 --- a/src/flow-bypass.c +++ b/src/flow-bypass.c @@ -85,7 +85,7 @@ static TmEcode BypassedFlowManager(ThreadVars *th_v, void *thread_data) /* check if we have a periodic check function */ bool found = false; for (i = 0; i < g_bypassed_func_max_index; i++) { - if (bypassedfunclist[i].FuncInit) { + if (bypassedfunclist[i].Func) { found = true; break; }