mirror of
https://github.com/nmap/nmap.git
synced 2026-10-21 03:11:48 +00:00
Use parse_timespec for ipv6-ra-flood.timeout argument.
This commit is contained in:
parent
40a2af0a84
commit
6b86535138
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ local function broadcast_on_interface(iface)
|
|||
-- packet counter
|
||||
local counter = 0
|
||||
|
||||
local arg_timeout = tonumber(stdnse.get_script_args(SCRIPT_NAME..".timeout")) or 30
|
||||
local arg_timeout = stdnse.parse_timespec(stdnse.get_script_args(SCRIPT_NAME..".timeout") or "30s")
|
||||
|
||||
local dnet = nmap.new_dnet()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue