[Zeek] - set default to an enum type

william de ping bill.de.ping at gmail.com
Sun Jun 23 05:20:23 PDT 2019


Hi everyone,

I have a variable that has &optional &default attributes.
I want the &default attribute to have a value of an enum.

So if the enum is : type color: enum { Red, White, Blue, };
c: color &default=Red;

Does not work..

Any ideas on the correct syntax ?

Thank you
B
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/zeek/attachments/20190623/9b39cb65/attachment.html 


More information about the Zeek mailing list