Call ProtocolConfirmation in SIP only if we saw a response SIP packet

This commit is contained in:
Vlad Grigorescu 2016-03-17 14:23:18 -05:00
parent f5ce4785ea
commit f4141bde6d

View file

@ -18,7 +18,6 @@ refine flow SIP_Flow += {
function proc_sip_request(method: bytestring, uri: bytestring, vers: SIP_Version): bool
%{
connection()->bro_analyzer()->ProtocolConfirmation();
if ( sip_request )
{
BifEvent::generate_sip_request(connection()->bro_analyzer(), connection()->bro_analyzer()->Conn(),