[Bro] &expire_func/&create_expire question
vern at icir.org
Tue Nov 21 21:41:19 PST 2006
> Ok, found the problem: it's not possbile to give *local* variables
> as the timeout; constants and globals are fine. I'm going to add an
> error message for the case of locals.
This doesn't seem to me to be the correct semantics. It's a local variable
that's being created. It should set its expiration timeout based on the
value of the expression used in the declaration. It doesn't matter that
that expression is in terms of a local variable, provided that that variable
is defined at the time of initialization - which is indeed the case in the
example Christian put together.
More information about the Bro