[Bro] If Statement Syntax

Vern Paxson vern at icir.org
Mon Apr 21 11:41:15 PDT 2008


> line 293 (c$id$resp_p == 443): error, type clash in comparison
> Does anyone know the proper syntax?

Port constants are <number>/<transport>, so you need 443/tcp if you mean
a TCP port.

> Also what is the proper syntax for else if in Bro? Is it else if () or elsif
> ()?

These sorts of questions are easy to investigate by looking in the
scripts provided in bro/policy/*.bro.

		Vern



More information about the Bro mailing list