[Bro] broctl print capture_filters failing

Azoff, Justin S jazoff at illinois.edu
Wed Apr 11 13:47:14 PDT 2018


> On Apr 11, 2018, at 4:36 PM, Aashish Sharma <asharma at lbl.gov> wrote:
> 
> event bro_init()
> {
>    local _msg = "" ; 
> 
>        for (a in capture_filters)
>        { 
>               _msg = fmt ("capture-filters: %s-> %s", a, capture_filters[a]);
>                event reporter_info(network_time(), _msg, peer_description);   
>        } 
> }

You can just

    Reporter::info(fmt ("capture-filters: %s-> %s", a, capture_filters[a]));



— 
Justin Azoff





More information about the Bro mailing list