summaryrefslogtreecommitdiff
path: root/lib/custodian/protocol-tests/dns.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-15 13:49:26 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-15 13:49:26 +0000
commit0d919c2f6e80350188d74c50922b26f61323e033 (patch)
tree4e3bc4d54efea4574aba59a2feb050248d27e128 /lib/custodian/protocol-tests/dns.rb
parent89e524a53142e2f9628745ea651563e5ef2211ba (diff)
Fixed bug with whitespace
Diffstat (limited to 'lib/custodian/protocol-tests/dns.rb')
-rwxr-xr-xlib/custodian/protocol-tests/dns.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/protocol-tests/dns.rb b/lib/custodian/protocol-tests/dns.rb
index a3396de..50100ac 100755
--- a/lib/custodian/protocol-tests/dns.rb
+++ b/lib/custodian/protocol-tests/dns.rb
@@ -143,7 +143,7 @@ class DNSTest
dns.getresources(name, Resolv::DNS::Resource::IN::AAAA).map{ |r| results.push r.address.to_s() }
when /^NS$/ then
- dns.getresources(name, Resolv::DNS::Resource::IN::MX).map{ |r| results.pushResolv.getaddresses(r.name.to_s()) }
+ dns.getresources(name, Resolv::DNS::Resource::IN::MX).map{ |r| results.push Resolv.getaddresses(r.name.to_s()) }
when /^MX$/ then
dns.getresources(name, Resolv::DNS::Resource::IN::MX).map{ |r| results.push Resolv.getaddresses(r.exchange.to_s()) }