diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-06-06 03:13:28 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-06-06 03:13:28 +0000 |
commit | abf477b292a33dd026a5f570544cac323dc6470d (patch) | |
tree | 912a0c97e28e49c56ccb39f91401c001c7e69a1a /perl-install/network | |
parent | c38c9f5251520a73979936af6ef1c719ed0c3954 (diff) | |
download | drakx-abf477b292a33dd026a5f570544cac323dc6470d.tar drakx-abf477b292a33dd026a5f570544cac323dc6470d.tar.gz drakx-abf477b292a33dd026a5f570544cac323dc6470d.tar.bz2 drakx-abf477b292a33dd026a5f570544cac323dc6470d.tar.xz drakx-abf477b292a33dd026a5f570544cac323dc6470d.zip |
API change (me sux)
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/shorewall.pm | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/perl-install/network/shorewall.pm b/perl-install/network/shorewall.pm index ab427d2d4..d42772b94 100644 --- a/perl-install/network/shorewall.pm +++ b/perl-install/network/shorewall.pm @@ -4,7 +4,6 @@ package network::shorewall; # $Id$ use detect_devices; -use network::netconnect; use network::ethernet; use network::network; use run_program; @@ -40,11 +39,9 @@ sub get_config_file { } sub get_ifcfg_interface() { - my $netcnx = {}; - my $netc = {}; - my $intf = {}; - network::netconnect::read_net_conf($netcnx, $netc, $intf); - network::tools::get_default_gateway_interface($netc, $intf); + my $net = {}; + network::network::read_net_conf($net); + network::tools::get_default_gateway_interface($net); } sub get_shorewall_interface() { |