[Bro-Dev] @load convention for BIFs

Jonathan Siwek jsiwek at ncsa.illinois.edu
Thu Apr 21 14:49:16 PDT 2011


Robin,

Here's how bro.init `@load`s the bro scripts generated from BIFs:

@load const.bif.bro
@load types.bif.bro
@load strings.bif.bro
@load bro.bif.bro
@load event.bif.bro

But logging.bro does it like this:

@load logging.bif

Can I add a ".bro" to that as a consistency nitpick?

(Currently it also triggers a warning when bro's in doc mode because it was expecting the former convention, but I may try to make it more robust as I'm going to need to revisit that piece of code anyway).

- Jon


More information about the bro-dev mailing list