From 8a28399cb43b162dcd05abf65c52694155191562 Mon Sep 17 00:00:00 2001 From: Claudius Herder Date: Mon, 24 Aug 2015 15:00:56 +0200 Subject: [PATCH] Fix Hostname in edit_cache_host.cgi $ch[0] is hostname, $ch[2] is proxy port. --- squid/edit_cache_host.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/squid/edit_cache_host.cgi b/squid/edit_cache_host.cgi index b659ca1b9..8e5c9dad9 100755 --- a/squid/edit_cache_host.cgi +++ b/squid/edit_cache_host.cgi @@ -37,7 +37,7 @@ else { print &ui_table_start($text{'ech_cho'}, "width=100%", 4); print &ui_table_row($text{'ech_h'}, - &ui_textbox("host", $ch[2], 30)); + &ui_textbox("host", $ch[0], 30)); my @ts = ( [ "parent" => $text{"ech_parent"} ], [ "sibling" => $text{"ech_sibling"} ],