mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 17:48:21 +00:00
Add EventHandler version of stats plugin
This commit is contained in:
parent
194960eafa
commit
3a963f080e
3 changed files with 30 additions and 0 deletions
|
@ -52,6 +52,8 @@ void EventHandler::SetFunc(FuncPtr f)
|
|||
|
||||
void EventHandler::Call(Args* vl, bool no_remote)
|
||||
{
|
||||
call_count++;
|
||||
|
||||
if ( new_event )
|
||||
NewEvent(vl);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue