[Bro] A problem during using 'set'
Seth Hall
seth at icir.org
Sun May 13 07:05:50 PDT 2012
On May 13, 2012, at 5:55 AM, Asma Mumtaz wrote:
> It means that whenever I declare local lengths: set[count]. It is not initializing a new 'set', but keeps the state of previous set of values entered and updated it. Why is it doing so?
You aren't assigning a value to the variable, you are only declaring the type of the variable. Try this:
local lengths: set[count] = set();
.Seth
--
Seth Hall
International Computer Science Institute
(Bro) because everyone has a network
http://www.bro-ids.org/
More information about the Bro
mailing list