mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
finishing touches, make test more robust, rename function in last again
This commit is contained in:
parent
80962ad74b
commit
ab6d5b08a8
5 changed files with 26 additions and 17 deletions
|
@ -21,10 +21,10 @@ export {
|
|||
};
|
||||
|
||||
## Get a vector of element values from a ResultVal.
|
||||
global get_last_elements: function(rv: ResultVal): vector of Observation;
|
||||
global get_last: function(rv: ResultVal): vector of Observation;
|
||||
}
|
||||
|
||||
function get_last_elements(rv: ResultVal): vector of Observation
|
||||
function get_last(rv: ResultVal): vector of Observation
|
||||
{
|
||||
local s: vector of Observation = vector();
|
||||
if ( rv?$last_elements )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue