Implement the zeek_init handler.

Implements the change and a test.
This commit is contained in:
Seth Hall 2019-04-12 22:29:40 +02:00
parent f96bc81f85
commit 8cefb9be42
118 changed files with 229 additions and 165 deletions

View file

@ -66,8 +66,8 @@ public:
*/
void InitPostScript();
void BroInitDone()
{ after_bro_init = true; }
void ZeekInitDone()
{ after_zeek_init = true; }
/**
* Shuts Broker down at termination.
@ -380,7 +380,7 @@ private:
uint16_t bound_port;
bool reading_pcaps;
bool after_bro_init;
bool after_zeek_init;
int peer_count;
Func* log_topic_func;