Seth Hall created BIT-1280:
------------------------------

             Summary: Checking index in vectors is broken
                 Key: BIT-1280
                 URL: https://bro-tracker.atlassian.net/browse/BIT-1280
             Project: Bro Issue Tracker
          Issue Type: Problem
          Components: Bro
    Affects Versions: 2.4
            Reporter: Seth Hall


If you try to check an index in a vector for existence, you get an error...

{quote}
event bro_init()
        {
        local vec: vector of count = vector();
        if ( 2 in vec )
                print vec[2];
        print vec;
        }
{quote}

Error:
{quote}
fatal error in bool: BroType::AsVectorType (bool/vector) (bool)
{quote}



--
This message was sent by Atlassian JIRA
(v6.4-OD-07-004#64005)
_______________________________________________
bro-dev mailing list
[email protected]
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev

Reply via email to