mirror of
https://github.com/nmap/nmap.git
synced 2026-08-27 03:48:14 +00:00
Remove "hardmatched" argument from calls to nmap.set_port_version.
This is the default and can be omitted. Seeing as the value of this argument was "hardmatched" in 100% of cases, we're better off pretending the parameter doesn't exist.
This commit is contained in:
parent
453131b820
commit
a2c2863531
45 changed files with 50 additions and 50 deletions
|
|
@ -222,7 +222,7 @@ local function process_instance( instance )
|
|||
-- Give some version info back to Nmap
|
||||
if ( instance.port and instance.version ) then
|
||||
instance.version:PopulateNmapPortVersion( instance.port )
|
||||
nmap.set_port_version( instance.host, instance.port, "hardmatched" )
|
||||
nmap.set_port_version( instance.host, instance.port)
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue