diff --git a/src/detect-geoip.c b/src/detect-geoip.c index a48b505527..a43dc2d582 100644 --- a/src/detect-geoip.c +++ b/src/detect-geoip.c @@ -250,8 +250,6 @@ static int DetectGeoipMatch(DetectEngineThreadCtx *det_ctx, const DetectGeoipData *geoipdata = (const DetectGeoipData *)ctx; int matches = 0; - DEBUG_VALIDATE_BUG_ON(PKT_IS_PSEUDOPKT(p)); - if (PacketIsIPv4(p)) { if (geoipdata->flags & ( GEOIP_MATCH_SRC_FLAG | GEOIP_MATCH_BOTH_FLAG )) { @@ -416,7 +414,6 @@ static int DetectGeoipSetup(DetectEngineCtx *de_ctx, Signature *s, const char *o de_ctx, s, DETECT_GEOIP, (SigMatchCtx *)geoipdata, DETECT_SM_LIST_MATCH) == NULL) { goto error; } - s->flags |= SIG_FLAG_REQUIRE_PACKET; return 0;