mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Allow BRO_DEFAULT_LISTEN_ADDRESS to control broker listen address
This environment variable is now set to listen only on IPv4 loopback when running unit tests (instead of using the default INADDR_ANY). This also moves some of the @loads out from init-bare.bro into a new init-frameworks-and-bifs.bro in order to better support calling BIFs (like `getenv`) from variable initializations in those particular frameworks.
This commit is contained in:
parent
55f14c2eb8
commit
1b4e0116f4
10 changed files with 76 additions and 40 deletions
|
@ -755,7 +755,9 @@ int main(int argc, char** argv)
|
|||
|
||||
broxygen_mgr = new broxygen::Manager(broxygen_config, bro_argv[0]);
|
||||
|
||||
add_input_file("base/init-bare.bro");
|
||||
add_essential_input_file("base/init-bare.bro");
|
||||
add_essential_input_file("base/init-frameworks-and-bifs.bro");
|
||||
|
||||
if ( ! bare_mode )
|
||||
add_input_file("base/init-default.bro");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue