[Bro-Dev] Check if table element exists
Azoff, Justin S
jazoff at illinois.edu
Tue Aug 8 11:24:25 PDT 2017
You're looking for 'in'
http://try.bro.org/#/?example=basics-composite-types-table
--
- Justin Azoff
> On Aug 8, 2017, at 2:04 PM, Reinhard Gentz <rgentz at asu.edu> wrote:
>
> Hi,
>
> I would like to check if a certain table element exists and then take corresponding action like the following:
>
> if (exists(mytable["my_dynamic_name"]))
> do something
> else
> do something else
>
>
> Can someone give me a hint?
> Reinhard
> _______________________________________________
> bro-dev mailing list
> bro-dev at bro.org
> http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev
More information about the bro-dev
mailing list