]> git.ipfire.org Git - thirdparty/suricata.git/commit
app-layer: fix AppLayerParserProtocolIsTxEventAware 831/head
authorVictor Julien <victor@inliniac.net>
Fri, 7 Feb 2014 10:04:32 +0000 (11:04 +0100)
committerVictor Julien <victor@inliniac.net>
Fri, 7 Feb 2014 11:47:01 +0000 (12:47 +0100)
commit3967bd5517e7ab57fd82d7ce9b70dac16057b8f7
treed8694fae248bb6bd282701a1d49c27141c075899
parent3f5acc5447a44124df48b5502b961d544fab8f88
app-layer: fix AppLayerParserProtocolIsTxEventAware

AppLayerParserProtocolIsTxEventAware would check if a proto is tx
event aware by checking if it had registered a StateHasEvents function.
However, this is an optimization function. This patch changes it to
use the StateGetEvents function instead, which is a better indicator.
src/app-layer-parser.c