[Bro-Dev] consistency checking for attributes

Michał Purzyński michalpurzynski1 at gmail.com
Wed Oct 31 11:19:42 PDT 2018


Yeah, error out and let there be no surprises.

On Wed, Oct 31, 2018 at 11:17 AM Vern Paxson <vern at corelight.com> wrote:

> > To be honest I'm not even sure if the behavior
> > is defined right now, i.e. if the later value will overwrite the first
> one.
>
> I don't think it's defined.  Looking at the code, the later one will
> indeed overwrite the first one.
>
> > Do you want to error out when two &defaults are found or overwrite the
> > first with the second one?
>
> My thinking is that listing them together should be an error.  I don't
> see why it would be legitimate for this to occur, and it seems like a
> mistake that could be made if there's a lengthy list of attributes.
>
>                 Vern
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.icsi.berkeley.edu/pipermail/bro-dev/attachments/20181031/091ea27e/attachment.html 


More information about the bro-dev mailing list