summaryrefslogtreecommitdiffstats
path: root/perl-install/network/ethernet.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-29 22:37:55 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-29 22:37:55 +0000
commit062b7826290cab91c842fac1f0a3978a05f5193c (patch)
treee9d7fa290b9e933f23a6fb4f8bf4f70a8244b614 /perl-install/network/ethernet.pm
parentaf130a1374fbf25b0a779c6b61dcfa29c10d1fad (diff)
downloaddrakx-062b7826290cab91c842fac1f0a3978a05f5193c.tar
drakx-062b7826290cab91c842fac1f0a3978a05f5193c.tar.gz
drakx-062b7826290cab91c842fac1f0a3978a05f5193c.tar.bz2
drakx-062b7826290cab91c842fac1f0a3978a05f5193c.tar.xz
drakx-062b7826290cab91c842fac1f0a3978a05f5193c.zip
(conf_network_card_backend) remove compat stuff since callers were
cleaned up
Diffstat (limited to 'perl-install/network/ethernet.pm')
-rw-r--r--perl-install/network/ethernet.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/perl-install/network/ethernet.pm b/perl-install/network/ethernet.pm
index a8c25ecb3..365c0906d 100644
--- a/perl-install/network/ethernet.pm
+++ b/perl-install/network/ethernet.pm
@@ -83,12 +83,10 @@ sub get_eth_cards() {
#- $netc output:
#- $netc->{NET_DEVICE} : this is used to indicate that this eth card is used to connect to internet : $device
#- output:
-#- $all_cards : a list of a list ( [eth1, module1], ... , [ethn, modulen]). Pass the ethx as $interface in further call.
#- $device : only returned in case $interface was given it's $interface, but filtered by /eth[0-9+]/ : string : /eth[0-9+]/
sub conf_network_card_backend {
my ($netc, $intf, $o_type, $o_interface, $o_ipadr, $o_netadr) = @_;
#-type =static or dhcp
- return get_eth_cards() if !$o_interface;
$o_interface =~ /eth[0-9]+/ or die("the interface is not an ethx");