[Bro] running some code on only one cluster node

Seth Hall seth at icir.org
Wed Mar 27 21:13:09 PDT 2013


On Mar 25, 2013, at 12:24 PM, David Mandelberg <dmandelb at bbn.com> wrote:

> @if (Cluster::local_node_type() in {Cluster::MANAGER, Cluster::NONE})
> <code for only one node>
> @endif


I tend toward this style.

  .Seth

--
Seth Hall
International Computer Science Institute
(Bro) because everyone has a network
http://www.bro.org/




More information about the Bro mailing list