[Bro] howto append a subnet addr to a set via cmd line...

Mike Wood muscletot at gmail.com
Wed May 23 16:27:15 PDT 2007

I would like to have in myscript.bro

   const SOMENETS : set[subnet] &redef;

and then run

   bro 'SOMENETS +=' myscript.bro

but I get an error

   <params>, line 1 ( error, bad initializer

Any chance this will work w/ slightly different syntax on the cmd line...?


More information about the Bro mailing list