summaryrefslogtreecommitdiffstats
path: root/perl-install/network/network.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-03-01 13:31:24 +0000
committerOlivier Blin <oblin@mandriva.org>2006-03-01 13:31:24 +0000
commit3fb10f33d63c9c9c291f457900dbf36ca278a3ff (patch)
treeb0752832ed212f425aee85921809a500eaee5f57 /perl-install/network/network.pm
parent277abd754b4024a765293406434728f8ff26bc51 (diff)
downloaddrakx-3fb10f33d63c9c9c291f457900dbf36ca278a3ff.tar
drakx-3fb10f33d63c9c9c291f457900dbf36ca278a3ff.tar.gz
drakx-3fb10f33d63c9c9c291f457900dbf36ca278a3ff.tar.bz2
drakx-3fb10f33d63c9c9c291f457900dbf36ca278a3ff.tar.xz
drakx-3fb10f33d63c9c9c291f457900dbf36ca278a3ff.zip
use network::shorewall::update_interfaces_list()
Diffstat (limited to 'perl-install/network/network.pm')
-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);
}