summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/network/network.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index 42420c120..67dd579bf 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -607,7 +607,7 @@ sub configure_network {
#- update interfaces list in shorewall
require network::shorewall;
my $shorewall = network::shorewall::read();
- $shorewall and network::shorewall::write($shorewall);
+ $shorewall && !$shorewall->{disabled} and network::shorewall::write($shorewall);
}
#- make net_applet reload the configuration