[Bro-Dev] Policy script enums (and event engine interaction)

Gregor Maier gregor at icir.org
Tue Dec 7 22:26:29 PST 2010


Hmm, I partially found the solution. Adding an enum in const.bif seem to
do the trick for using one enum definition in both the policy layer and
the event engine.

Also found how to coerce integer into EnumVal in the event engine (but
still don't know how to achieve this in the policy layer).

Enums with pre-assigned values still don't work though :-(


cu
Gregor
-- 
Gregor Maier                                             gregor at icir.org
Int. Computer Science Institute (ICSI)          gregor at icsi.berkeley.edu
1947 Center St., Ste. 600                    http://www.icir.org/gregor/
Berkeley, CA 94704
USA


More information about the bro-dev mailing list