[Bro] Question About Namespaces

Arash Fallah af7 at umbc.edu
Fri Jun 3 10:20:27 PDT 2016


If I put the following code inside the export section, would I be changing
the separator for all subsequently loaded scripts as well?

ex.

export{

redef InputAscii::separator = ",";

}


Whereas if I put it outside the export block, would it only be changed for
my script and not apply to another?

export{

#foo here

}

redef InputAscii::separator = ",";

Additionally, when you are redefining variables, why is it that redef enum
is necessary when redefining an enumerable type whereas no other variable
requires the type to be explicitly stated for the redefinition (i.e.
strings as above).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20160603/f4507029/attachment.html 


More information about the Bro mailing list