Remove deprecated protocol_confirmation/violation events and methods

This commit is contained in:
Tim Wojtulewicz 2022-06-15 15:00:49 -07:00
parent 392c2f3810
commit 644ed5d314
7 changed files with 5 additions and 96 deletions

View file

@ -3,7 +3,7 @@
#include "foo_pac.h"
#include "events.bif.h"
#include <zeek/analyzer/protocol/tcp/TCP_Reassembler.h>
#include "zeek/analyzer/protocol/tcp/TCP_Reassembler.h"
using namespace btest::plugin::Demo_Foo;
@ -45,7 +45,7 @@ void Foo::DeliverStream(int len, const u_char* data, bool orig)
}
catch ( const binpac::Exception& e )
{
ProtocolViolation(zeek::util::fmt("Binpac exception: %s", e.c_msg()));
AnalyzerViolation(zeek::util::fmt("Binpac exception: %s", e.c_msg()));
}
}