]> git.ipfire.org Git - thirdparty/suricata.git/commit
flow: set datalink for pseudo packet
authorEric Leblond <eric@regit.org>
Thu, 11 Mar 2021 22:58:37 +0000 (23:58 +0100)
committerVictor Julien <vjulien@oisf.net>
Thu, 26 May 2022 11:33:33 +0000 (13:33 +0200)
commit2c2fc6cd91533003f20d3251bb417b5395e808c4
tree6e3d9f5e8879ba3d8f0a03cbed0cdf97d2913585
parent1c2fba57f81493c20104935438a19c603640d6f3
flow: set datalink for pseudo packet

Set pseudo packet datalink to the global one. This fixes the case
where the pcap handle is open with information coming from a
pseudo packet. Without this, we did end up in most cases with
an Ethernet packet being written in a Raw pcap.
src/flow-timeout.c