Skip to content

Commit

Permalink
Merge pull request #1 from bcoles/patch-1
Browse files Browse the repository at this point in the history
use up_protocol in banner
  • Loading branch information
soh-cah-toa committed Apr 29, 2014
2 parents 3b3d7fe + 0438cf4 commit fc024c8
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 fc024c8

Please sign in to comment.