From 4ad10b70bba8570520e3fa19b858aae19c755eb6 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 3 Apr 2008 08:14:06 +0000 Subject: allow to accept multiple users for the same port --- bin/drakgw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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(); }, }, -- cgit v1.2.1