]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect: fix app-layer-protocol keyword for HTTP
authorPhilippe Antoine <contact@catenacyber.fr>
Wed, 22 Dec 2021 21:44:54 +0000 (22:44 +0100)
committerVictor Julien <vjulien@oisf.net>
Mon, 3 Jan 2022 10:44:30 +0000 (11:44 +0100)
commitbf9bbdd6128568d74d88c4f4eb08be910488f6e0
treedb9d3067bf52b80b22b11418bad4f5a208d13bb0
parent2a5d79e42609bd5ae0d0456cd5c458e20670160e
detect: fix app-layer-protocol keyword for HTTP

Ticket: 4920

Completes commit c8dbe24fb6202550bbca1fab452ddbe864b2c9e2
which introduced AppProtoEquals to have a generic
check for http in signature can mean http1 or http2 in
traffic.

This commit missed this case, as I only looked for
git grep "alproto ==" and here we deal with
alproto_tc and alproto_ts, but not alproto by itself.
src/detect-app-layer-protocol.c