]> git.ipfire.org Git - people/ms/suricata.git/commit - src/app-layer-ftp.c
ftp: FTPGetAlstateProgress for done port commands
authorPhilippe Antoine <contact@catenacyber.fr>
Mon, 16 Mar 2020 13:48:40 +0000 (14:48 +0100)
committerVictor Julien <victor@inliniac.net>
Mon, 20 Apr 2020 12:31:07 +0000 (14:31 +0200)
commit6f36403219687b1bbcb667078a57c1c9d4aed185
treeafa817496da07a73da1a823583c1d8b13a7dfcf8
parent699d6682daad908fb30f2b871129dfa826f4a476
ftp: FTPGetAlstateProgress for done port commands

For a done transaction with command PORT,
we expect FTP_STATE_FINISHED
and we got FTP_STATE_PORT_DONE instead
which prevented logging of these transactions

We change the order of the evaluations to get the right result
src/app-layer-ftp.c