]> git.ipfire.org Git - thirdparty/suricata.git/commit
sources: allow interface definitions to be reordered
authorJason Ish <ish@unx.ca>
Thu, 5 May 2016 15:41:45 +0000 (09:41 -0600)
committerVictor Julien <victor@inliniac.net>
Mon, 9 May 2016 18:31:02 +0000 (20:31 +0200)
commitaa8e747e4d39fb32349ea6638649f5653e2519b6
treea6ed82e24d511fcf6c03a4ff456b3bdc4080c620
parente29e9056cb83de896d5b06fcf4d049169750901e
sources: allow interface definitions to be reordered

For af-packet, pf-ring, netmap, and pcap use a generic
lookup function to find the configuration node for an
interface.

The new lookup function does not depend on the ordering
of the items inside the device configuration.
src/runmode-af-packet.c
src/runmode-netmap.c
src/runmode-pcap.c
src/runmode-pfring.c
src/util-conf.c
src/util-conf.h