From 7d01a00cfc0b3716bf5d574353858022243c0b10 Mon Sep 17 00:00:00 2001 From: patrik Date: Sat, 16 Jun 2012 19:58:45 +0000 Subject: [PATCH] bug fix in db2-das-info for error in replacement string; invalid use of '%' in replacement string --- scripts/db2-das-info.nse | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/db2-das-info.nse b/scripts/db2-das-info.nse index 8eda45e55..f7e7b8538 100644 --- a/scripts/db2-das-info.nse +++ b/scripts/db2-das-info.nse @@ -399,12 +399,12 @@ action = function(host, port) local _ local current_count = 0 if port.version.version ~= nil then - _, current_count = string.gsub(port.version.version, "%.", "%.") + _, current_count = string.gsub(port.version.version, "%.", ".") end local new_count = 0 if server_version ~= nil then - _, new_count = string.gsub(server_version, "%.", "%.") + _, new_count = string.gsub(server_version, "%.", ".") end if current_count < new_count then