1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-14 09:26:35 +00:00

Remove redundant 'proto=port.protocol' from comm.lua calls

This commit is contained in:
dmiller
2015-02-05 04:17:58 +00:00
parent 24f88f9b83
commit 40652f215b
7 changed files with 10 additions and 12 deletions

View File

@@ -21,7 +21,7 @@ categories = {"discovery", "safe"}
portrule = shortport.port_or_service(13, "daytime", {"tcp", "udp"})
action = function(host, port)
local status, result = comm.exchange(host, port, "dummy", {lines=1, proto=port.protocol})
local status, result = comm.exchange(host, port, "dummy", {lines=1})
if status then
return result