mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 00:28:21 +00:00
Make tags generated during component initialization stable.
The order in which the plugin initializers are executed is compiler dependent. With this change, Tags will always be generated in alphabetical ordering, not in compiler-dependent order.
This commit is contained in:
parent
2756dfe581
commit
65d977f278
13 changed files with 95 additions and 11 deletions
|
@ -327,6 +327,12 @@ void Plugin::MetaHookPost(HookType hook, const HookArgumentList& args, HookArgum
|
|||
{
|
||||
}
|
||||
|
||||
void Plugin::InitializeComponents()
|
||||
{
|
||||
for ( component_list::const_iterator i = components.begin(); i != components.end(); i++ )
|
||||
(*i)->Initialize();
|
||||
}
|
||||
|
||||
void Plugin::Describe(ODesc* d) const
|
||||
{
|
||||
d->Add(config.name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue