summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/network/network.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index a5eb3911d..45c5dc2ee 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -613,10 +613,8 @@ sub configure_network {
any { $_->{BOOTPROTO} =~ /^(pump|bootp)$/ } values %{$net->{ifcfg}} and $in->do_pkgs->install('pump');
- #- update interfaces list in shorewall
require network::shorewall;
- my $shorewall = network::shorewall::read();
- $shorewall && !$shorewall->{disabled} and network::shorewall::write($shorewall);
+ network::shorewall::update_interfaces_list();
$net->{network}{HOSTNAME} && !$::isInstall and sethostname($net);
}