- set default to an enum type

william de ping <[email protected]>
Newsgroups gmane.comp.security.detection.bro
Message-ID <CAKZA8xhCypvCkzanG2X3=BijmsKKT5GT-WmOFkpJq9vfUFJvqg@mail.gmail.com>
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

_______________________________________________
Zeek mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/zeek
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.