]> git.ipfire.org Git - thirdparty/suricata.git/commit
pcap: handle failure of packet treatment
authorEric Leblond <eric@regit.org>
Sat, 11 Aug 2012 09:43:18 +0000 (11:43 +0200)
committerEric Leblond <eric@regit.org>
Mon, 27 Aug 2012 09:43:53 +0000 (11:43 +0200)
commiteaea832a4e1033276a6787ef14ccbe66fbe3d1b4
tree353a83bef92f3ab11a3e358a92b4ab80b22b7ac5
parentf82573be1244eda76108e0486540fddb32fbcbbe
pcap: handle failure of packet treatment

If the loop is breaked, this means we've got a treatment error. We
don't need to reconnect but we must exit with correct status.
src/source-pcap.c