diff options
Diffstat (limited to 'lib/custodian')
-rw-r--r-- | lib/custodian/multiping.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/multiping.rb b/lib/custodian/multiping.rb index adb246e..64c3573 100644 --- a/lib/custodian/multiping.rb +++ b/lib/custodian/multiping.rb @@ -60,7 +60,7 @@ class MultiPing # Does the hostname resolve to an IPv6 address? # def is_ipv6? - if ( ( ! @resolved.nil? ) && ( @resolved =~ /^2001/ ) ) + if ( ( ! @resolved.nil? ) && ( @resolved =~ /^([a-f0-9:]+)$/i ) ) true else false |