summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-09-15 05:36:39 +0000
committerOlivier Blin <oblin@mandriva.org>2005-09-15 05:36:39 +0000
commitb60ecb647026156da5d432f1bc75470ad7da0c67 (patch)
tree33dd979df63ca2342d1c3fba6c1fa502915dd1d3 /perl-install/network
parentff491e22b7d1ff200208507333fa647dbf3fee35 (diff)
downloaddrakx-b60ecb647026156da5d432f1bc75470ad7da0c67.tar
drakx-b60ecb647026156da5d432f1bc75470ad7da0c67.tar.gz
drakx-b60ecb647026156da5d432f1bc75470ad7da0c67.tar.bz2
drakx-b60ecb647026156da5d432f1bc75470ad7da0c67.tar.xz
drakx-b60ecb647026156da5d432f1bc75470ad7da0c67.zip
drakconnect: update interfaces list in shorewall
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/network.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index f9f0bd915..42420c120 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -603,6 +603,11 @@ sub configure_network {
write_zeroconf($net, $in);
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 and network::shorewall::write($shorewall);
}
#- make net_applet reload the configuration