]> git.ipfire.org Git - people/ms/suricata.git/commit
af-packet: refactor VLAN hdr handling
authorVictor Julien <victor@inliniac.net>
Thu, 4 Nov 2021 09:00:17 +0000 (10:00 +0100)
committerVictor Julien <vjulien@oisf.net>
Mon, 22 Nov 2021 12:56:07 +0000 (13:56 +0100)
commit2fab3ff0e851da759fd1d7214f8f89eea9054e18
tree7dbcb4264766b498e434ef9e2d316e163ce81c30
parentb9189946f9f36b13c51e1c3ed2f43e79c5933a54
af-packet: refactor VLAN hdr handling

Update the packet payload after decode, instead of during IPS send.

This means the updates happen in the capture thread, and the VLAN header
is available to logging as well.

Ticket: #4805.
src/source-af-packet.c
src/source-af-packet.h