mirror of
https://github.com/nmap/nmap.git
synced 2026-08-28 04:25:15 +00:00
Now works for udp again. The port table has a "protocol" field, not "proto".
This commit is contained in:
parent
91956287c2
commit
de922ab69c
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ require "shortport"
|
|||
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.proto})
|
||||
local status, result = comm.exchange(host, port, "dummy", {lines=1, proto=port.protocol})
|
||||
|
||||
if status then
|
||||
return result
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue