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

earl eiland (JIRA) jira at bro-tracker.atlassian.net
Tue Jul 21 10:55:01 PDT 2015


earl eiland created BIT-1438:
--------------------------------

             Summary: 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


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
(v6.5-OD-08-001#65007)



More information about the bro-dev mailing list