From: Victor Julien Date: Fri, 17 Mar 2023 16:46:32 +0000 (+0100) Subject: detect: reduce sm_lists macro use X-Git-Tag: suricata-7.0.0-rc2~431 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5753d950404937d93da56f0f36a2decaf9ab1d60;p=thirdparty%2Fsuricata.git detect: reduce sm_lists macro use --- diff --git a/src/tests/detect.c b/src/tests/detect.c index e49ff93786..f3fa1c1a10 100644 --- a/src/tests/detect.c +++ b/src/tests/detect.c @@ -3499,7 +3499,7 @@ static int SigTest37ContentAndIsdataatKeywords02 (void) goto end; } - if (s->sm_lists[DETECT_SM_LIST_PMATCH]->type != DETECT_CONTENT) { + if (s->init_data->smlists[DETECT_SM_LIST_PMATCH]->type != DETECT_CONTENT) { printf("type not content: "); goto end; }