From 60924c73087b5eda57a65a2e5999172680de7efe Mon Sep 17 00:00:00 2001 From: kris Date: Thu, 27 Mar 2008 18:08:42 +0000 Subject: [PATCH] update ripeQuery.nse to not print extraneous beginning whitespace --- CHANGELOG | 2 ++ scripts/ripeQuery.nse | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 914f2b91c..be7c6d6a1 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -8,6 +8,8 @@ o Reformat Nmap COPYING file (e.g. remove C comment markers, reduce when presented by the Windows executable (NSIS) installer. Thanks to Jah for the patch (which was modified slightly by Fyodor). +o Updated ripeQuery.nse to not print extraneous whitespace. [Kris] + Nmap 4.60 o Nmap has moved. Everything at http://insecure.org/nmap/ can now be diff --git a/scripts/ripeQuery.nse b/scripts/ripeQuery.nse index 772d8de43..369850d1a 100644 --- a/scripts/ripeQuery.nse +++ b/scripts/ripeQuery.nse @@ -41,5 +41,5 @@ action = function(host, port) return end - return "IP belongs to: " .. value + return "IP belongs to: " .. value:gsub("^%s*", "") end