aboutsummaryrefslogtreecommitdiffstats
path: root/lib/resolv.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/resolv.rb')
-rw-r--r--lib/resolv.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/resolv.rb b/lib/resolv.rb
index bdbed2702a..04b85ea85d 100644
--- a/lib/resolv.rb
+++ b/lib/resolv.rb
@@ -831,7 +831,6 @@ class Resolv
class MDNSOneShot < UnconnectedUDP # :nodoc:
def sender(msg, data, host, port=Port)
- service = [host, port]
id = DNS.allocate_request_id(host, port)
request = msg.encode
request[0,2] = [id].pack('n')