diff --git a/scripts/nfs-ls.nse b/scripts/nfs-ls.nse index a283d4481..de441ee17 100644 --- a/scripts/nfs-ls.nse +++ b/scripts/nfs-ls.nse @@ -130,6 +130,7 @@ hostrule = function(host) end end end + if mountport == nil then return false end if host.registry.nfs.mountver == nil then local low, high = string.match(mountport.version.version, "(%d)-(%d)") if high == nil then