lib/metasploit/aggregator/router.rb in metasploit-aggregator-0.2.1 vs lib/metasploit/aggregator/router.rb in metasploit-aggregator-0.2.2
- old
+ new
@@ -51,11 +51,11 @@
# for a reverse uuid, and refill that on each reverse, this puts logic
# here that I do not like but accomplishes the requirement for now
unless @queue_by_uuid[uuid]
@queue_by_uuid[uuid] = Queue.new
end
- @forward_routes.each_pair do |key, val|
- request, response, remote_uuid = val
+ @forward_routes.each_pair do |_key, val|
+ request, _response, remote_uuid = val
next unless remote_uuid == uuid
while !request.empty?
@queue_by_uuid[uuid] << request.pop
end
end
\ No newline at end of file