mirror of
https://github.com/nmap/nmap.git
synced 2026-06-09 17:22:26 +00:00
Fix a test for the return value of ipOps.isPrivate in the hostrule which was
causing an unnecessary debug message: "Error in Hostrule: 127/8".
This commit is contained in:
parent
919f13738a
commit
d67b6d9c10
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ local stdnse = require "stdnse"
|
|||
hostrule = function( host )
|
||||
|
||||
local is_private, err = ipOps.isPrivate( host.ip )
|
||||
if err then
|
||||
if is_private == nil then
|
||||
stdnse.print_debug( "%s Error in Hostrule: %s.", filename, err )
|
||||
return false
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue