[Bro-Dev] failing?

Vern Paxson vern at icir.org
Fri Apr 22 08:09:30 PDT 2011


> Does it make sense that this code is failing?

Well, define "sense" :-).  Yes, it makes sense to me, because I  could
easily see Bro's inference of types in initializations getting in the way
with what you've provided.  It has trouble with nested definitions.  Probably
the right way to fix this is to add support for constructors.

Can you get it to work using table()?  For example, the following

	print table([3] = table(["foo"] = "bar"));

does indeed work.

		Vern


More information about the bro-dev mailing list