]> git.ipfire.org Git - people/ms/suricata.git/commit - src/source-af-packet.c
af-packet: get datalink for each socket creation.
authorEric Leblond <eric@regit.org>
Mon, 11 Jun 2012 21:23:32 +0000 (23:23 +0200)
committerVictor Julien <victor@inliniac.net>
Fri, 29 Jun 2012 11:10:02 +0000 (13:10 +0200)
commitc85ee1e3f64e8319ad3b7cc305d56071c100ad28
tree9daad5362c5d7eb1489f453b9cbda162e27db531
parent59ec493f7c08e60861cc5d1ba45dcbddfabc846c
af-packet: get datalink for each socket creation.

This patch will allow us to use the datalink when computing the filter.
It also fixes a potential issue where an interface data type change
after the interface if going down/up.
src/source-af-packet.c