mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +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:
@@ -242,7 +242,7 @@ action = function(host, port)
|
||||
-- Record service description.
|
||||
port.version.name = "nrpe"
|
||||
port.version.product = "Nagios Remote Plugin Executor"
|
||||
nmap.set_port_version(host, port, "hardmatched")
|
||||
nmap.set_port_version(host, port)
|
||||
|
||||
-- Format table, without trailing newline.
|
||||
results = tab.dump(results)
|
||||
|
||||
Reference in New Issue
Block a user