mirror of
https://github.com/nmap/nmap.git
synced 2026-01-06 06:29:03 +00:00
Fixing ripeQuery.nse output: it was printing "IP belongs to: " with nothing after it if the returned string was unacceptable (no role or suggested seeing www.iana.org); now it just returns since it didn't give any information anyway.
This commit is contained in:
@@ -38,7 +38,7 @@ action = function(host, port)
|
||||
end
|
||||
|
||||
if (value == nil) then
|
||||
value = ""
|
||||
return
|
||||
end
|
||||
|
||||
return "IP belongs to: " .. value
|
||||
|
||||
Reference in New Issue
Block a user