summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-04-03 07:56:17 +0000
committerOlivier Blin <oblin@mandriva.com>2008-04-03 07:56:17 +0000
commit844526c6a45a5a02edcd3f46d46d98dd054d695b (patch)
treec0acd95974386eb857fda16f4a882cc35d4ddcb1 /bin
parent26d6ed6bc7120e5c9932d90fe9644dda8167fc7f (diff)
downloaddrakx-net-844526c6a45a5a02edcd3f46d46d98dd054d695b.tar
drakx-net-844526c6a45a5a02edcd3f46d46d98dd054d695b.tar.gz
drakx-net-844526c6a45a5a02edcd3f46d46d98dd054d695b.tar.bz2
drakx-net-844526c6a45a5a02edcd3f46d46d98dd054d695b.tar.xz
drakx-net-844526c6a45a5a02edcd3f46d46d98dd054d695b.zip
use http instead of www (to be consistent with drakguard)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/drakgw4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/drakgw b/bin/drakgw
index 0dee747..c7045c8 100755
--- a/bin/drakgw
+++ b/bin/drakgw
@@ -282,8 +282,8 @@ If you do not know the meaning of an option, simply leave it as it is."),
post => sub {
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, 'www'));
- $shorewall->{accept_local_user}{www} = $use_caching_proxy && 'squid';
+ 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';
-f $cups_conf ? "cups" : end_step();
},
},