Skip to content

Commit

Permalink
use up_protocol in banner
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoles committed Apr 26, 2014
1 parent 3b3d7fe commit 0438cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/dns/api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def self.pre_http_start(http_hook_server)

next if [up_protocol, up_address, up_port].include?(nil)
servers << [up_protocol.to_sym, up_address, up_port] if up_protocol =~ /^(tcp|udp)$/
upstream_servers << "Upstream Server: #{up_address}:#{up_port} (#{up_port})\n"
upstream_servers << "Upstream Server: #{up_address}:#{up_port} (#{up_protocol})\n"
end
end

Expand Down

0 comments on commit 0438cf4

Please sign in to comment.