[Bro] appending to a vector

David Mandelberg david at mandelberg.org
Wed Jun 19 09:14:43 PDT 2013


What's the recommended way to append to a vector? The documentation 
says vectors are like tables, so I tried the below code, but it gives 
some errors.

const foo: vector of double = vector() &redef;

redef foo += {
     [|foo|] = 42.0


David Eric Mandelberg / dseomn

More information about the Bro mailing list