1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-22 15:39:03 +00:00

Use version_port_or_service over port_or_service.

This commit is contained in:
david
2012-12-30 00:39:30 +00:00
parent 941b73ac8a
commit 02659c3de2
4 changed files with 4 additions and 4 deletions

View File

@@ -24,7 +24,7 @@ license = "Same as Nmap--See http://nmap.org/book/man-legal.html"
categories = {"version"}
portrule = shortport.port_or_service(10000, "ndmp", "tcp")
portrule = shortport.version_port_or_service(10000, "ndmp", "tcp")
local function fail(err) return ("\n ERROR: %s"):format(err or "") end