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.
(cherry picked from commit
7fb56a9075a97cd9781d08efd0f949b0bfca2719)
strlen(emergency_bypassed),
emergency_bypassed) > 0) {
- flow_timeouts_emerg[FLOW_PROTO_UDP].bypassed_timeout = configval;
+ flow_timeouts_emerg[FLOW_PROTO_ICMP].bypassed_timeout = configval;
}
}
}