mirror of https://github.com/OISF/suricata
detect: fix setting of flag for rule reload
As part of 6d8b50b748
, the settings of
THV_CAPTURE_INJECT_PKT ended up in a location unreachable by capture
methods that did not have PktAcqBreakLoop.
Instead, always call TmThreadsCaptureBreakLoop which handles the logic
for how the read loop should be broken.
This fixes the case where read threads won't "break" for rule reloads
until packets are seen.
Ticket: #6021
pull/8792/head
parent
f961d3bb95
commit
1c6644ef4e
Loading…
Reference in New Issue