[Bro] problem with &expire_func

Vern Paxson vern at icir.org
Thu Feb 10 13:29:22 PST 2005

> > 	function myfunc(t: table[addr] of bool , idx: addr): interval {
> > 		local srcIP: addr;
> > 		srcIP = idx;
> > 		return 0secs;
> > 	}
> results in this error when i want to start bro:
> > policy/test.bro, line xx (srcIP = idx): error, type clash in assignment

Please send the full script exhibiting this problem.  I actually *did*
test my suggestion and it works for me, and I just fed the above into Bro
and it didn't generate any error message.


More information about the Bro mailing list