summaryrefslogtreecommitdiffstats
path: root/bin/drakgw
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-04-03 08:14:06 +0000
committerOlivier Blin <oblin@mandriva.com>2008-04-03 08:14:06 +0000
commit4ad10b70bba8570520e3fa19b858aae19c755eb6 (patch)
tree0a4fac9f1b1b35b5b719361bd3d0b51987c7d884 /bin/drakgw
parent844526c6a45a5a02edcd3f46d46d98dd054d695b (diff)
downloaddrakx-net-4ad10b70bba8570520e3fa19b858aae19c755eb6.tar
drakx-net-4ad10b70bba8570520e3fa19b858aae19c755eb6.tar.gz
drakx-net-4ad10b70bba8570520e3fa19b858aae19c755eb6.tar.bz2
drakx-net-4ad10b70bba8570520e3fa19b858aae19c755eb6.tar.xz
drakx-net-4ad10b70bba8570520e3fa19b858aae19c755eb6.zip
allow to accept multiple users for the same port
Diffstat (limited to 'bin/drakgw')
-rwxr-xr-xbin/drakgw2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/drakgw b/bin/drakgw
index c7045c8..e9e7bab 100755
--- a/bin/drakgw
+++ b/bin/drakgw
@@ -283,7 +283,7 @@ If you do not know the meaning of an option, simply leave it as it is."),
network::squid::write_squid_conf($squid_conf, $lan_intf, $internal_domain_name) if $use_caching_proxy;
services::set_status("squid", $use_caching_proxy);
network::shorewall::set_redirected_ports($shorewall, 'tcp', $squid_conf->{http_port}[0], if_($use_caching_proxy, 'http'));
- $shorewall->{accept_local_user}{http} = $use_caching_proxy && 'squid';
+ @{$shorewall->{accept_local_users}{http}} = if_($use_caching_proxy, 'squid');
-f $cups_conf ? "cups" : end_step();
},
},