From fc29aae18376eab7b8791a358fae2b427cc84faf Mon Sep 17 00:00:00 2001 From: Christian Kreibich Date: Thu, 5 Jun 2025 17:28:38 -0700 Subject: [PATCH] Remove adjustments and custom terminate() for Zeekygen invocation. --- scripts/zeekygen/__load__.zeek | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/scripts/zeekygen/__load__.zeek b/scripts/zeekygen/__load__.zeek index c2c2832940..c5717b310e 100644 --- a/scripts/zeekygen/__load__.zeek +++ b/scripts/zeekygen/__load__.zeek @@ -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(); - }