From 1197d84f577866a2617612e194753f15780ac483 Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Wed, 20 Aug 2008 20:26:15 +0000 Subject: fixed icon bug mentioned in http://forum.pfsense.org/index.php/topic,11008.0.html --- packages/squid/squid.inc | 5 +++-- packages/squid3/squid.inc | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/squid/squid.inc b/packages/squid/squid.inc index 9d1b6af4..5e2f08e7 100644 --- a/packages/squid/squid.inc +++ b/packages/squid/squid.inc @@ -648,7 +648,8 @@ function squid_resync_redirector() { function squid_resync_nac() { global $config, $valid_acls; - $settings = $config['installedpackages']['squidnac']['config'][0]; + $port = ($settings['proxy_port'] ? $settings['proxy_port'] : 3128); + $settings = $config['installedpackages']['squidnac']['config'][0]; $webgui_port = $config['system']['webgui']['port']; $conf = <<