From 1f670837acd702159ce4edb4aac0abd4265758a9 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Mon, 31 Oct 2016 11:30:26 +0100 Subject: [PATCH] detect: add missing break (CID 1374301) --- src/detect.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/detect.c b/src/detect.c index 458248f4ec..27047c5c0a 100644 --- a/src/detect.c +++ b/src/detect.c @@ -2263,6 +2263,7 @@ PacketCreateMask(Packet *p, SignatureMask *mask, AppProto alproto, int has_state case ALPROTO_ENIP: SCLogDebug("packet/flow has enip state"); (*mask) |= SIG_MASK_REQUIRE_ENIP_STATE; + break; case ALPROTO_DNP3: SCLogDebug("packet/flow has dnp3 state"); (*mask) |= SIG_MASK_REQUIRE_DNP3_STATE;