mirror of
https://github.com/nmap/nmap.git
synced 2026-09-01 07:52:57 +00:00
Fixes a trivial oversight
This commit is contained in:
parent
80e8329c73
commit
8ca04d127f
1 changed files with 1 additions and 1 deletions
|
|
@ -437,7 +437,7 @@ get_default_scheme_schemes = invert(get_default_port_ports)
|
|||
-----------------------------------------------------------------------------
|
||||
function get_default_scheme (port)
|
||||
local number = (type(port) == "number") and port or port.number
|
||||
return get_default_scheme_schemes[port]
|
||||
return get_default_scheme_schemes[number]
|
||||
end
|
||||
|
||||
if not unittest.testing() then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue