aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid
diff options
context:
space:
mode:
Diffstat (limited to 'packages/squid')
-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':