[Bro-Dev] "delete" of entire tables/sets

Jim Mellander jmellander at lbl.gov
Thu Dec 6 16:07:24 PST 2018


I believe the clear_table() function still exists in zeek, as well...

On Thu, Dec 6, 2018 at 3:12 PM Vern Paxson <vern at corelight.com> wrote:

> > I guess re-assigning a new, empty table to the variable could be
> > analogous to deleting all entries and also avoids the iterator
> > invalidation problem ?
>
> Hah!, yeah, that's certainly a simple way to do it.  Maybe I'll
> change my hacking for now to just be adding this observation to
> the "delete" documentation :-).
>
>                 Vern
> _______________________________________________
> bro-dev mailing list
> bro-dev at bro.org
> http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.icsi.berkeley.edu/pipermail/bro-dev/attachments/20181206/27ee1bf3/attachment.html 


More information about the bro-dev mailing list