lib/metasploit/aggregator/forwarder.rb in metasploit-aggregator-0.2.1 vs lib/metasploit/aggregator/forwarder.rb in metasploit-aggregator-0.2.2
- old
+ new
@@ -20,12 +20,12 @@
def connections
# TODO: for now before reporting connections flush stale ones
flush_stale_sessions
connections = {}
- @response_queues.each_pair do |connection, queue|
+ @response_queues.each_pair do |connection, _queue|
forward = 'parked'
- send, recv, console = @router.get_forward(connection)
+ _send, _recv, console = @router.get_forward(connection)
unless console.nil?
forward = "#{console}"
end
connections[connection] = forward
end
\ No newline at end of file