mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Fix a typo: modify the correct variable
This commit is contained in:
parent
03639761c3
commit
bf0ad07e59
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ portrule = function(host, port)
|
|||
end
|
||||
|
||||
-- ensure UDP
|
||||
portarg = portarg:gsub("^[U:]*", "U:")
|
||||
ports = ports:gsub("^[U:]*", "U:")
|
||||
return port.protocol == "udp" and shortport.port_range(ports)(host, port) and
|
||||
not(shortport.port_is_excluded(port.number,port.protocol))
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue