diff --git a/scripts/x11-access.nse b/scripts/x11-access.nse index 78ba2639f..730fca006 100644 --- a/scripts/x11-access.nse +++ b/scripts/x11-access.nse @@ -20,7 +20,7 @@ author = "vladz " license = "Same as Nmap--See http://nmap.org/book/man-legal.html" categories = {"default", "safe"} -portrule = function( host, port ) +portrule = function(host, port) return ((port.number >= 6000 and port.number <= 6009) or string.match(port.service, "^X11")) -- If port.version.product is not equal to nil, version