[Bro-Dev] assignment clash error when initializing local table

Hui Lin (Hugo) hlin33 at illinois.edu
Sun Dec 25 18:05:36 PST 2011


Hi,

>From old manual, we can initialize global table when it is declared, like
this.

global a: table[count] of string = {
     [11] = "eleven",
     [5] = "five",
};


However, if I put them within event or function, assignment clash error
happens. Is there any way that I can do the same thing for the local
defined table?

 Best,

Hui

-- 
Hui Lin
Research Assistant
DEPEND Research Group, ECE Department
University of Illinois at Urbana-Champaign
hlin33 at illinois.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.icsi.berkeley.edu/pipermail/bro-dev/attachments/20111225/0e8477e9/attachment.html 


More information about the bro-dev mailing list