From 7fb56a9075a97cd9781d08efd0f949b0bfca2719 Mon Sep 17 00:00:00 2001 From: Luke Coughlan Date: Mon, 26 Apr 2021 13:05:15 +0100 Subject: [PATCH] flow/bypass: Properly set the ICMP emergency-bypassed value Currently the ICMP emergency-bypassed value defined in suricata.conf is overwriting the UDP value rather than correctly setting it for ICMP. This commit corrects this bug so that the ICMP value can be set as expected. --- src/flow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flow.c b/src/flow.c index 03ef268806..4a94c4ef9b 100644 --- a/src/flow.c +++ b/src/flow.c @@ -978,7 +978,7 @@ void FlowInitFlowProto(void) strlen(emergency_bypassed), emergency_bypassed) > 0) { - flow_timeouts_emerg[FLOW_PROTO_UDP].bypassed_timeout = configval; + flow_timeouts_emerg[FLOW_PROTO_ICMP].bypassed_timeout = configval; } } }