summaryrefslogtreecommitdiffstats
path: root/lib/network/drakfirewall.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-04 23:13:38 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-04 23:13:38 +0000
commitb09c5b6bac1520a20ceda6b837fc4f59d3d0f659 (patch)
tree6312c7a57b5ab99af51ab558a9831c1e5bee809c /lib/network/drakfirewall.pm
parentb5a16ca8a7738508420ef120466d28dd0783c887 (diff)
downloaddrakx-net-b09c5b6bac1520a20ceda6b837fc4f59d3d0f659.tar
drakx-net-b09c5b6bac1520a20ceda6b837fc4f59d3d0f659.tar.gz
drakx-net-b09c5b6bac1520a20ceda6b837fc4f59d3d0f659.tar.bz2
drakx-net-b09c5b6bac1520a20ceda6b837fc4f59d3d0f659.tar.xz
drakx-net-b09c5b6bac1520a20ceda6b837fc4f59d3d0f659.zip
remove more spaces
Diffstat (limited to 'lib/network/drakfirewall.pm')
-rw-r--r--lib/network/drakfirewall.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/network/drakfirewall.pm b/lib/network/drakfirewall.pm
index 09517c1..6b8bbf3 100644
--- a/lib/network/drakfirewall.pm
+++ b/lib/network/drakfirewall.pm
@@ -6,9 +6,9 @@ use diagnostics;
use network::shorewall;
use common;
-my @all_servers =
+my @all_servers =
(
- {
+ {
name => N_("Web Server"),
pkg => 'apache apache-mod_perl boa',
ports => '80/tcp 443/tcp',
@@ -143,7 +143,7 @@ sub set_ports {
if (!$disabled || -x "$::prefix/sbin/shorewall") {
$do_pkgs->ensure_binary_is_installed('shorewall', 'shorewall', $::isInstall) or return;
-
+
$shorewall->{disabled} = $disabled;
$shorewall->{ports} = $ports;
$shorewall->{log_net_drop} = $log_net_drop;
@@ -154,7 +154,7 @@ sub set_ports {
sub get_conf {
my ($in, $disabled, $o_ports) = @_;
-
+
my $possible_servers = default_from_pkgs($in->do_pkgs);
$_->{hide} = 0 foreach @$possible_servers;