mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00

This is based on commit 2731def9159247e6da8a3191783c89683363689c from the zeek-docs repo.
12 lines
212 B
Text
12 lines
212 B
Text
redef exit_only_after_terminate = T;
|
|
|
|
event zeek_init()
|
|
{
|
|
Broker::peer("127.0.0.1");
|
|
}
|
|
|
|
event Broker::peer_added(endpoint: Broker::EndpointInfo, msg: string)
|
|
{
|
|
print "peer added", endpoint;
|
|
terminate();
|
|
}
|