]> git.ipfire.org Git - thirdparty/suricata.git/commit
event: only sets APPLAYER_UNEXPECTED_PROTOCOL once
authorPhilippe Antoine <contact@catenacyber.fr>
Wed, 1 Jun 2022 13:04:34 +0000 (15:04 +0200)
committerVictor Julien <vjulien@oisf.net>
Mon, 13 Jun 2022 05:59:41 +0000 (07:59 +0200)
commite6925300212277a7300f4a3aa9b5c745ee10e0df
treeee6567d8d3bb78c9bfa4bf0801b1f0d533668a64
parentb0298dd0468f150229f9021ebe9c438bc2b7cecf
event: only sets APPLAYER_UNEXPECTED_PROTOCOL once

If f->alproto == ALPROTO_UNKNOWN, we do not know the new protocol
yet, so we do not set the event yet.
src/app-layer.c