From: Philippe Antoine Date: Mon, 3 Apr 2023 08:10:43 +0000 (+0200) Subject: detect: http.response_body for HTTP2 X-Git-Tag: suricata-7.0.0-rc2~150 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b32bc459b62c4a5a5924ee270237c60d6cad585;p=thirdparty%2Fsuricata.git detect: http.response_body for HTTP2 Already using the file.data logic Ticket: #4067 --- diff --git a/src/detect-http-server-body.c b/src/detect-http-server-body.c index 4c5896bb82..d2c480ebd3 100644 --- a/src/detect-http-server-body.c +++ b/src/detect-http-server-body.c @@ -126,7 +126,7 @@ static int DetectHttpServerBodySetupSticky(DetectEngineCtx *de_ctx, Signature *s { if (DetectBufferSetActiveList(de_ctx, s, g_file_data_buffer_id) < 0) return -1; - if (DetectSignatureSetAppProto(s, ALPROTO_HTTP1) < 0) + if (DetectSignatureSetAppProto(s, ALPROTO_HTTP) < 0) return -1; return 0; }