[Bro-Dev] #683: Some BiFs should return a vector instead of a set/table
Bro Tracker
bro at tracker.bro-ids.org
Wed Nov 16 22:05:58 PST 2011
#683: Some BiFs should return a vector instead of a set/table
----------------------+------------------------
Reporter: matthias | Owner:
Type: Problem | Status: new
Priority: Normal | Milestone: Bro2.1
Component: Bro | Version: git/master
Keywords: |
----------------------+------------------------
The following functions should have a `vector` as yield value rather than
a set/table:
{{{
split.*(...)
find_all(...)
}}}
Moreover, `split` & friends have the yield value `table[count] of string`
which starts at index 1. This is counterintuitive, as regular vectors
start with a index at 0. I suggest replacing the yield value with `vector
of string`.
--
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/683>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker
More information about the bro-dev
mailing list