change base scripts to use run-time if's or @if ... &analyze

This commit is contained in:
Vern Paxson 2023-05-19 13:26:27 -07:00
parent e749638380
commit 890010915a
30 changed files with 263 additions and 253 deletions

View file

@ -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;
}