I’m trying to find out what is in the variable c$id$resp_p (which is a port number). I tried using the following syntax
if ( c$id$resp_p == “443” ) {
…
}
On 443 I try it with and without quotations around it but I always get the following error:
line 293 (c$id$resp_p == 443): error, type clash in comparison
Does anyone know the proper syntax?
Also what is the proper syntax for else if in Bro? Is it else if () or elsif ()?
Thanks.