mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Ooops. Forgot the returns
This commit is contained in:
parent
7161193756
commit
f083222ea9
1 changed files with 2 additions and 0 deletions
|
|
@ -307,6 +307,7 @@ function concat_iterators (iter1, iter2)
|
|||
return helper(iter2, command, iter1(command))
|
||||
end
|
||||
end
|
||||
return iterator
|
||||
end
|
||||
|
||||
--- Returns a new iterator that filters it's results based on the filter.
|
||||
|
|
@ -322,6 +323,7 @@ function filter_iterator (iterator, filter)
|
|||
local function filter (command)
|
||||
return helper(iterator(command))
|
||||
end
|
||||
return filter
|
||||
end
|
||||
|
||||
return _ENV;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue