diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/oxidized/nodes.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/nodes.rb b/lib/oxidized/nodes.rb index 227f656..032118d 100644 --- a/lib/oxidized/nodes.rb +++ b/lib/oxidized/nodes.rb @@ -29,6 +29,7 @@ module Oxidized end def node_want? node_want, node + return true unless node_want node_want_ip = (IPAddr.new(node_want) rescue false) name_is_ip = (IPAddr.new(node[:name]) rescue false) if name_is_ip and node_want_ip == node[:name] |