mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Remove adjustments and custom terminate() for Zeekygen invocation.
This commit is contained in:
parent
c1cec7aec7
commit
fc29aae183
1 changed files with 0 additions and 14 deletions
|
@ -40,17 +40,3 @@
|
|||
@endif
|
||||
|
||||
@load ./example.zeek
|
||||
|
||||
event zeek_init() &priority=1000
|
||||
{
|
||||
# Disable events in modules that use zeek_init() to do stuff and may
|
||||
# fail when run under zeekygen. For the purpose of zeekygen, we could
|
||||
# probably disable all modules, too.
|
||||
disable_module_events("Control");
|
||||
disable_module_events("Cluster::Backend::ZeroMQ");
|
||||
disable_module_events("Cluster::Experimental");
|
||||
disable_module_events("Management::Agent::Runtime");
|
||||
disable_module_events("Management::Controller::Runtime");
|
||||
disable_module_events("Management::Node");
|
||||
terminate();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue