]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
Coverity 1100842: add missing return statement
authorVictor Julien <victor@inliniac.net>
Thu, 3 Oct 2013 07:48:32 +0000 (09:48 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 3 Oct 2013 07:48:32 +0000 (09:48 +0200)
src/respond-reject-libnet11.c

index 914c1b494b238960f9b2d2870e886d8e74576539..b27b74e9d98fba8a2a713b85c179ca4b976ccc23 100644 (file)
@@ -499,6 +499,7 @@ int RejectSendLibnet11L3IPv6ICMP(ThreadVars *tv, Packet *p, void *data, int dir)
     SCLogError(SC_ERR_LIBNET_NOT_ENABLED, "Libnet ICMPv6 based rejects are disabled."
                 "Usually this means that you don't have a patched libnet installed,"
                 " or configure couldn't find it.");
+    return 0;
 }
 #endif /* HAVE_LIBNET_ICMPV6_UNREACH */