diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-04-03 08:14:06 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-04-03 08:14:06 +0000 |
commit | 4ad10b70bba8570520e3fa19b858aae19c755eb6 (patch) | |
tree | 0a4fac9f1b1b35b5b719361bd3d0b51987c7d884 /bin/drakgw | |
parent | 844526c6a45a5a02edcd3f46d46d98dd054d695b (diff) | |
download | drakx-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-x | bin/drakgw | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); }, }, |