mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 02:58:20 +00:00
change base scripts to use run-time if's or @if ... &analyze
This commit is contained in:
parent
e749638380
commit
890010915a
30 changed files with 263 additions and 253 deletions
|
@ -544,11 +544,10 @@ function found(id: conn_id, info: Info): bool
|
|||
return F;
|
||||
}
|
||||
|
||||
@if ( Cluster::is_enabled() )
|
||||
if ( Cluster::is_enabled() )
|
||||
Cluster::publish_hrw(Cluster::proxy_pool, info$host, Software::new, info);
|
||||
@else
|
||||
else
|
||||
event Software::new(info);
|
||||
@endif
|
||||
|
||||
return T;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue