mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Adding environment variable BRO_PLUGIN_ACTIVATE that unconditionally
activates plugins. Plugins are specified with a comma-separated list of names.
This commit is contained in:
parent
d88b333353
commit
551950c438
8 changed files with 107 additions and 20 deletions
10
src/util.cc
10
src/util.cc
|
@ -984,6 +984,16 @@ const char* bro_plugin_path()
|
|||
return path;
|
||||
}
|
||||
|
||||
const char* bro_plugin_activate()
|
||||
{
|
||||
const char* names = getenv("BRO_PLUGIN_ACTIVATE");
|
||||
|
||||
if ( ! names )
|
||||
names = "";
|
||||
|
||||
return names;
|
||||
}
|
||||
|
||||
string bro_prefixes()
|
||||
{
|
||||
string rval;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue