]> git.ipfire.org Git - thirdparty/suricata.git/commit
ipfw: avoid critical error for broadcast
authorEric Leblond <eric@regit.org>
Fri, 7 Sep 2012 11:18:35 +0000 (13:18 +0200)
committerVictor Julien <victor@inliniac.net>
Sat, 8 Sep 2012 19:12:01 +0000 (21:12 +0200)
commit6d5544665547f474125921ee2e266bcd4ce705fb
tree7f111aeba148829ae3b84299acc3bfc0456e9ffd
parent41cb365a399edd8b6f1e456a2d7e9be616792103
ipfw: avoid critical error for broadcast

In some setup, suricata may receive broadcast packets and the call
to sendto may fail if the wrong interface is choosen by kernel.
This patch change the error treatment to avoid to leave when
this problem occurs.
src/source-ipfw.c