> 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.
Vern