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 */