mirror of https://github.com/OISF/suricata
detect/flow: optimize flow check
Flow direction doesn't need explicit checking as the rule groups (sgh) are already per direction. So if a rule sets only flow:to_server or flow:to_client, we can avoid adding a sigmatch to the signature.pull/3739/head
parent
119db92c99
commit
55e5d50496
Loading…
Reference in New Issue