[Bro] Using for loop w/ &expire_func

Josh Liburdi liburdi.joshua at gmail.com
Sat Apr 26 09:28:21 PDT 2014

I'm having a problem iterating over a table in an &expire_func function. I
receive this error: "value used but not set (t)"

When using this function with my table...

&expire_func=function(t: table[string] of set[string,string,addr], idx:
string): interval
          for ( [x,y,z] in t[idx] )
            print x;
          return 0secs;

Iterating over the table works with events, but I'd like to process indexes
as they are removed from the table. Has anyone run into this before or know
what might be causing the error?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20140426/4dbbbc0b/attachment.html 

More information about the Bro mailing list