[Bro-Dev] [JIRA] (BIT-1438) Code example from the documentation fails with "unknown identifier" error

earl eiland (JIRA) jira at bro-tracker.atlassian.net
Wed Jul 22 07:57:01 PDT 2015

    [ https://bro-tracker.atlassian.net/browse/BIT-1438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21404#comment-21404 ] 

earl eiland commented on BIT-1438:

That would indeed cause an error!  I installed from the git repository last week using the instructions in the document, and thought I was getting the latest and greatest release.  Do I need to go elsewhere for 2.4?

> Code example from the documentation fails with "unknown identifier" error
> -------------------------------------------------------------------------
>                 Key: BIT-1438
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1438
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: Bro, Documentation
>    Affects Versions: 2.3
>         Environment: ArchLinux
>            Reporter: earl eiland
>              Labels: event, script
> event protocol_confirmation(c: connection, atype: Analyzer::Tag, aid: count)
>    {
>     local service_id = split_string_all("a-b--cd", /(\-)+/);
>     }
> Executing this script fails with "unknown identifier split_string_all, at or near “split_string_all””.  
> The split_string_all command is taken directly from the documentation: https://www.bro.org/sphinx/scripts/base/bif/strings.bif.bro.html#id-split_string_all

This message was sent by Atlassian JIRA

More information about the bro-dev mailing list