From 0438cf422f1900c4d01e6efd8f8fcf61d8735059 Mon Sep 17 00:00:00 2001 From: Brendan Coles Date: Sat, 26 Apr 2014 21:50:46 +1000 Subject: [PATCH] use up_protocol in banner --- extensions/dns/api.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/dns/api.rb b/extensions/dns/api.rb index 60c9d3927e..1385417175 100644 --- a/extensions/dns/api.rb +++ b/extensions/dns/api.rb @@ -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