summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/resolv.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/resolv.rb b/lib/resolv.rb
index 5a4c0ebdc8..3f3ed41a47 100644
--- a/lib/resolv.rb
+++ b/lib/resolv.rb
@@ -1237,7 +1237,7 @@ class Resolv
def ==(other) # :nodoc:
return false unless Name === other
return false unless @absolute == other.absolute?
- return @labels.join('.').casecmp(other.to_a.join('.')).zero?
+ return @labels == other.to_a
end
alias eql? == # :nodoc: