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:
kris 2007-12-06 21:51:43 +00:00
parent 217be2aa2b
commit aa80ac4b40

View file

@ -38,7 +38,7 @@ action = function(host, port)
end
if (value == nil) then
value = ""
return
end
return "IP belongs to: " .. value