summaryrefslogtreecommitdiff
path: root/lib/custodian
diff options
context:
space:
mode:
Diffstat (limited to 'lib/custodian')
-rw-r--r--lib/custodian/multiping.rb2
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