1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-15 01:46:35 +00:00

bug fix in db2-das-info for error in replacement string;

invalid use of '%' in replacement string
This commit is contained in:
patrik
2012-06-16 19:58:45 +00:00
parent b70e4f71cf
commit 7d01a00cfc

View File

@@ -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