[Bro-Dev] BiF parsing index types

Robin Sommer robin at icir.org
Fri May 13 17:51:25 PDT 2011


On Fri, May 13, 2011 at 11:01 -0400, you wrote:

> It doesn't appear to be working properly.

Normally you'd write:

    const okay_to_lookup_sensitive_hosts: set[addr] = {
                172.0.0.1,
                172.0.0.2,
    } &redef;

But your version seems to work as well. With both versions, I get:

    # bro -e "print okay_to_lookup_sensitive_hosts" foo.bro
    {
    172.0.0.1,
    172.0.0.2
    }

What's not working?

Robin

-- 
Robin Sommer * Phone +1 (510) 722-6541 * robin at icir.org
ICSI/LBNL    * Fax   +1 (510) 666-2956 *   www.icir.org


More information about the bro-dev mailing list