lib/rubydns/resolver.rb in rubydns-0.5.3 vs lib/rubydns/resolver.rb in rubydns-0.5.4
- old
+ new
@@ -119,10 +119,10 @@
elsif response.tc != 0
@logger.warn "[#{@message.id}] Received truncated response!" if @logger
try_next_server!
elsif response.id != @message.id
- @logger.warn "[#{@message.id}] Received response with incorrect message id: #{response.id}" if @request.logger
+ @logger.warn "[#{@message.id}] Received response with incorrect message id: #{response.id}" if @logger
try_next_server!
else
@logger.warn "[#{@message.id}] Received valid response #{response.inspect}" if @logger
\ No newline at end of file