]> git.ipfire.org Git - thirdparty/suricata.git/commit
netmap: redo config parsing
authorVictor Julien <victor@inliniac.net>
Sat, 11 Jun 2016 11:30:16 +0000 (11:30 +0000)
committerVictor Julien <victor@inliniac.net>
Mon, 20 Jun 2016 15:57:59 +0000 (17:57 +0200)
commit6c7bf006b747bfc3edaedb489e65cdbf06e0b7e2
tree328cde4d2b0e3a08e6b59ab79d37fa7d484ef426
parent0e9134930d4840de49295d65a5a2e7c81dd103ee
netmap: redo config parsing

Normally we parse the config per interface only. But to properly
setup the bridge, netmap also needs the config of it's peering
interface. Instead of using a complicated peering scheme like in
afpacket, simply parse the peers config too.
src/runmode-netmap.c
src/source-netmap.c
src/source-netmap.h