[Bro] defining a table of sets

Vern Paxson vern at icir.org
Mon Nov 10 07:29:53 PST 2008


> smith.bro, line 150 (alpha, anchor, armor): bad tag in Val::CONVERTER
> (types/table)

This is definitely a bug.

A workaround is to use a temporary variable:

	global t1 = set( "alpha", "anchor", "armor" );
	global distinct_peers: table[string] of set[string] = {
		[ "a" ] = t1,	# this works
	};

- Vern



More information about the Bro mailing list