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

This is based on commit 99e6942efec5feff50523f6b2a1f5868f19ab638 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();
|
|
}
|