aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2006-12-27 07:59:26 +0000
committerSeth Mos <seth.mos@xs4all.nl>2006-12-27 07:59:26 +0000
commitf97291ed7dcce4b5b5127c4823d322b53f47db36 (patch)
tree247a395c122e883a51d8c10183bf06f7d485bad7 /packages
parente06990899b170a4804b209b59823b482af2759ec (diff)
downloadpfsense-packages-f97291ed7dcce4b5b5127c4823d322b53f47db36.tar.gz
pfsense-packages-f97291ed7dcce4b5b5127c4823d322b53f47db36.tar.bz2
pfsense-packages-f97291ed7dcce4b5b5127c4823d322b53f47db36.zip
Unbreak squid. I forgot to set $port before creating the rules.
Diffstat (limited to 'packages')
-rw-r--r--packages/squid/squid.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/squid/squid.inc b/packages/squid/squid.inc
index df0798d2..f531b286 100644
--- a/packages/squid/squid.inc
+++ b/packages/squid/squid.inc
@@ -900,6 +900,7 @@ function squid_generate_rules($type) {
$ifaces = explode(',', $squid_conf['active_interface']);
$ifaces = array_map('convert_friendly_interface_to_real_interface_name', $ifaces);
+ $port = ($squid_conf['proxy_port'] ? $squid_conf['proxy_port'] : 3128);
switch($type) {
case 'nat':