From: Victor Julien Date: Sat, 14 Oct 2017 21:14:31 +0000 (+0200) Subject: hostbits: fix test setup X-Git-Tag: suricata-4.1.0-beta1~411 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=979f964260a11e938ec240dba7f52d9772a8972a;p=thirdparty%2Fsuricata.git hostbits: fix test setup --- 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;