mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Fix a typo: modify the correct variable
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user