Skip to content

Commit

Permalink
remove extra cluster check for Zeek v3 block
Browse files Browse the repository at this point in the history
  • Loading branch information
tylabs authored Jul 10, 2019
1 parent 5527cdf commit b50c14a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/dovehawk.bro
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ event signature_match(state: signature_state, msg: string, data: string)
event bro_init()
{
#run signature downloads on the manager only. indicators are automatically shared to workers
if ( (Cluster::is_enabled() && Cluster::local_node_type() == Cluster::MANAGER) ) {
if ( Cluster::is_enabled() && Cluster::local_node_type() == Cluster::MANAGER ) {
startup_intel();
event do_reload_signatures();
} else if ( !Cluster::is_enabled() ) {
Expand All @@ -478,7 +478,7 @@ event bro_init()
event zeek_init()
{
#run signature downloads on the manager only. indicators are automatically shared to workers
if ( (Cluster::is_enabled() && Cluster::local_node_type() == Cluster::MANAGER) || !Cluster::is_enabled() ) {
if ( Cluster::is_enabled() && Cluster::local_node_type() == Cluster::MANAGER ) {
startup_intel();
event do_reload_signatures();
} else if ( !Cluster::is_enabled() ) {
Expand Down

0 comments on commit b50c14a

Please sign in to comment.