diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2006-12-27 07:59:26 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2006-12-27 07:59:26 +0000 |
commit | f97291ed7dcce4b5b5127c4823d322b53f47db36 (patch) | |
tree | 247a395c122e883a51d8c10183bf06f7d485bad7 | |
parent | e06990899b170a4804b209b59823b482af2759ec (diff) | |
download | pfsense-packages-f97291ed7dcce4b5b5127c4823d322b53f47db36.tar.gz pfsense-packages-f97291ed7dcce4b5b5127c4823d322b53f47db36.tar.bz2 pfsense-packages-f97291ed7dcce4b5b5127c4823d322b53f47db36.zip |
Unbreak squid. I forgot to set $port before creating the rules.
-rw-r--r-- | packages/squid/squid.inc | 1 |
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': |