From 979f964260a11e938ec240dba7f52d9772a8972a Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Sat, 14 Oct 2017 23:14:31 +0200 Subject: [PATCH] hostbits: fix test setup --- src/detect-hostbits.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/detect-hostbits.c b/src/detect-hostbits.c index addca7c374..ead6998e20 100644 --- a/src/detect-hostbits.c +++ b/src/detect-hostbits.c @@ -1072,6 +1072,7 @@ static int HostBitsTestSig07(void) FLOW_INITIALIZE(&f); p->flow = &f; + p->flowflags = FLOW_PKT_TOSERVER; p->src.family = AF_INET; p->dst.family = AF_INET; -- 2.47.2