]> git.ipfire.org Git - thirdparty/suricata.git/commit
af-packet: exit in case of a fatal error 951/head
authorEric Leblond <eric@regit.org>
Wed, 23 Apr 2014 09:21:11 +0000 (11:21 +0200)
committerEric Leblond <eric@regit.org>
Wed, 23 Apr 2014 09:24:54 +0000 (11:24 +0200)
commit1992a22769e214f22d4af379b452c3e58c8fcebc
tree85d19f71747d18348a4a459fc9b8f5fa96696fa6
parentd28879f1a24625fadc96e00487bc931bf33b0e84
af-packet: exit in case of a fatal error

During socket creation all error cases were leading to suricata to
retry the opening of capture. This patch updates this behavior to
have fatal and recoverable error case. In case of a fatal error,
suricata is leaving cleanly.
src/source-af-packet.c