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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user