mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
bug fix in db2-das-info for error in replacement string;
invalid use of '%' in replacement string
This commit is contained in:
parent
b70e4f71cf
commit
7d01a00cfc
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue