diff options
Diffstat (limited to 'lib/custodian/protocoltest/mx.rb')
-rw-r--r-- | lib/custodian/protocoltest/mx.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/protocoltest/mx.rb b/lib/custodian/protocoltest/mx.rb index 8f260f9..c05283d 100644 --- a/lib/custodian/protocoltest/mx.rb +++ b/lib/custodian/protocoltest/mx.rb @@ -73,7 +73,7 @@ module Custodian Resolv::DNS.open do |dns| ress = dns.getresources(@host, Resolv::DNS::Resource::IN::MX) - ress.map { |r| mx.push( IPSocket::getaddress(r.exchange.to_s) ) } + ress.map { |r| mx.push( IPSocket.getaddress(r.exchange.to_s) ) } end end rescue Timeout::Error => e |