diff --git a/lib/rex/socket/range_walker.rb b/lib/rex/socket/range_walker.rb index df1340417b..b69be3fb75 100644 --- a/lib/rex/socket/range_walker.rb +++ b/lib/rex/socket/range_walker.rb @@ -109,6 +109,7 @@ class RangeWalker # the stored ranges. # def include?(addr) + return false if not @ranges if (addr.is_a? String) addr = Rex::Socket.addr_atoi(addr) end