ddis 1.2.3 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/ddis.rb +1 -1
  2. metadata +1 -1
@@ -46,7 +46,7 @@ class DDis
46
46
  @db.up_no_dns( ip )
47
47
  end
48
48
 
49
- if not up and hostname !~ /#{@unass}/
49
+ if not up and ( hostname !~ /#{@unass}/ and ! hostname.nil? )
50
50
  warn "#{ip} is down yet has a hostname set" if @verbose
51
51
  @db.down_with_dns( ip )
52
52
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ddis
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: