mirror of https://github.com/OISF/suricata
flow: swap MACs when flow direction is swapped
When FlowSwap() reverses the direction of a flow, the MAC address sets
stored in the flow also need to be swapped to maintain consistency with
the new direction. Previously, MAC addresses were not swapped along with
other flow properties like packet/byte counters.
Ticket #8172
(cherry picked from commit f1b9669ed5)
pull/14569/head
parent
c677dc4b6f
commit
183b826223
Loading…
Reference in New Issue