[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 12:58:01 PDT 2015
[ https://bro-tracker.atlassian.net/browse/BIT-1438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21407#comment-21407 ]
earl eiland commented on BIT-1438:
----------------------------------
I checked on the install. It turns out that the previous version had not been removed, and I was still using it -- the classic PICNIC error :)
Tomorrow, I'll try the correct executable.
> 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
(v6.5-OD-08-001#65007)
More information about the bro-dev
mailing list