From 57abba2e64dabfacec76ec4c8f0ba4a1cba26758 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 3 Oct 2013 09:48:32 +0200 Subject: [PATCH] Coverity 1100842: add missing return statement --- src/respond-reject-libnet11.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/respond-reject-libnet11.c b/src/respond-reject-libnet11.c index 914c1b494b..b27b74e9d9 100644 --- a/src/respond-reject-libnet11.c +++ b/src/respond-reject-libnet11.c @@ -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 */