From aa80ac4b4022e2b30d2581c1e5fe386b43480494 Mon Sep 17 00:00:00 2001 From: kris Date: Thu, 6 Dec 2007 21:51:43 +0000 Subject: [PATCH] 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. --- scripts/ripeQuery.nse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ripeQuery.nse b/scripts/ripeQuery.nse index 8535400b2..772d8de43 100644 --- a/scripts/ripeQuery.nse +++ b/scripts/ripeQuery.nse @@ -38,7 +38,7 @@ action = function(host, port) end if (value == nil) then - value = "" + return end return "IP belongs to: " .. value