summaryrefslogtreecommitdiffstats
path: root/perl-install/network/network.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-17 13:19:22 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-17 13:19:22 +0000
commit5b280812f53c7c6c093c3ba37644dae040b3e5ab (patch)
tree6848dc229ab7b82847d6ef314ff33336738626f8 /perl-install/network/network.pm
parentdc9f6d6bddad0abd9874988d9878c7ebeb0a3a99 (diff)
downloaddrakx-5b280812f53c7c6c093c3ba37644dae040b3e5ab.tar
drakx-5b280812f53c7c6c093c3ba37644dae040b3e5ab.tar.gz
drakx-5b280812f53c7c6c093c3ba37644dae040b3e5ab.tar.bz2
drakx-5b280812f53c7c6c093c3ba37644dae040b3e5ab.tar.xz
drakx-5b280812f53c7c6c093c3ba37644dae040b3e5ab.zip
use network::ethernet::get_eth_categories() when needed
Diffstat (limited to 'perl-install/network/network.pm')
-rw-r--r--perl-install/network/network.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index 8262ebbcc..4b5049739 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -363,7 +363,8 @@ sub easy_dhcp {
return if text2bool($netc->{NETWORKING});
require modules;
- modules::load_category($modules_conf, 'network/*');
+ require network::ethernet;
+ modules::load_category($modules_conf, network::ethernet::get_eth_categories());
my @all_dev = sort map { $_->[0] } network::ethernet::get_eth_cards($modules_conf);
#- only for a single ethernet network card