]> git.ipfire.org Git - people/ms/suricata.git/commit - rust/src/dns/dns.rs
app-layer: remove unused HasTxDetectState call
authorVictor Julien <victor@inliniac.net>
Tue, 6 Feb 2018 10:12:56 +0000 (11:12 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 6 Feb 2018 20:31:39 +0000 (21:31 +0100)
commit7548944b49b0dfc218d73e3d12c993629258fb2a
treec45ff95dc30bef13a0c9a7a101d08bc02526243a
parent1c270cae134f72ed7b5a88edb9695f27cf793dcc
app-layer: remove unused HasTxDetectState call

Also remove the now useless 'state' argument from the SetTxDetectState
calls. For those app-layer parsers that use a state == tx approach,
the state pointer is passed as tx.

Update app-layer parsers to remove the unused call and update the
modified call.
29 files changed:
rust/src/dns/dns.rs
rust/src/nfs/nfs.rs
src/app-layer-dcerpc-udp.c
src/app-layer-dcerpc.c
src/app-layer-dnp3.c
src/app-layer-dns-common.c
src/app-layer-dns-common.h
src/app-layer-dns-tcp-rust.c
src/app-layer-dns-tcp.c
src/app-layer-dns-udp-rust.c
src/app-layer-dns-udp.c
src/app-layer-enip.c
src/app-layer-ftp.c
src/app-layer-htp.c
src/app-layer-htp.h
src/app-layer-modbus.c
src/app-layer-nfs-tcp.c
src/app-layer-nfs-udp.c
src/app-layer-parser.c
src/app-layer-parser.h
src/app-layer-register.c
src/app-layer-register.h
src/app-layer-smb.c
src/app-layer-smtp.c
src/app-layer-ssh.c
src/app-layer-ssl.c
src/app-layer-template.c
src/app-layer-tftp.c
src/detect-engine-state.c