mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
zeek-setup: Load builtin-plugins/__preload__.zeek before initializing bifs
Prevent errors as follows with the bro-http2 plugin. error in /mitrecnd_HTTP2.events.bif.zeek, line 95: identifier not defined: http2_stream_stat error in /mitrecnd_HTTP2.events.bif.zeek, line 363: identifier not defined: http2_settings internal error in /mitrecnd_HTTP2.events.bif.zeek, line 460: Failed to find type named: http2_settings_unrecognized_table
This commit is contained in:
parent
1fecdfd815
commit
d34167b2c4
3 changed files with 5 additions and 5 deletions
|
@ -648,6 +648,7 @@ SetupResult setup(int argc, char** argv, Options* zopts)
|
|||
zeekygen_mgr = new zeekygen::detail::Manager(zeekygen_cfg, zeek_argv[0]);
|
||||
|
||||
add_essential_input_file("base/init-bare.zeek");
|
||||
add_essential_input_file("builtin-plugins/__preload__.zeek");
|
||||
add_essential_input_file("base/init-frameworks-and-bifs.zeek");
|
||||
|
||||
if ( ! options.bare_mode )
|
||||
|
@ -660,7 +661,6 @@ SetupResult setup(int argc, char** argv, Options* zopts)
|
|||
add_input_file("base/init-default.zeek");
|
||||
}
|
||||
|
||||
add_input_file("builtin-plugins/__preload__.zeek");
|
||||
add_input_file("builtin-plugins/__load__.zeek");
|
||||
|
||||
plugin_mgr->SearchDynamicPlugins(util::zeek_plugin_path());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue