summaryrefslogtreecommitdiffstats
path: root/perl-install/network/ethernet.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-17 11:18:02 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-17 11:18:02 +0000
commit82bfcba1c916d5a35bd75e6bd067701e5b648d2c (patch)
tree4a93be27fdafd53cecbd8fbcf24300da9ba5757b /perl-install/network/ethernet.pm
parent03391c72a47b86459b48496d9368824f3d400d7c (diff)
downloaddrakx-backup-do-not-use-82bfcba1c916d5a35bd75e6bd067701e5b648d2c.tar
drakx-backup-do-not-use-82bfcba1c916d5a35bd75e6bd067701e5b648d2c.tar.gz
drakx-backup-do-not-use-82bfcba1c916d5a35bd75e6bd067701e5b648d2c.tar.bz2
drakx-backup-do-not-use-82bfcba1c916d5a35bd75e6bd067701e5b648d2c.tar.xz
drakx-backup-do-not-use-82bfcba1c916d5a35bd75e6bd067701e5b648d2c.zip
(conf_network_card_backend) set NET_INTERFACE too
Diffstat (limited to 'perl-install/network/ethernet.pm')
-rw-r--r--perl-install/network/ethernet.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/ethernet.pm b/perl-install/network/ethernet.pm
index 074fec628..1615b96bb 100644
--- a/perl-install/network/ethernet.pm
+++ b/perl-install/network/ethernet.pm
@@ -114,7 +114,7 @@ sub conf_network_card_backend {
$interface =~ /eth[0-9]+/ or die("the interface is not an ethx");
# FIXME: this is wrong regarding some wireless interfaces or/and if user play if ifname(1):
- $netc->{NET_DEVICE} = $interface; #- one consider that there is only ONE Internet connection device..
+ $netc->{$_} = $interface foreach qw(NET_DEVICE NET_INTERFACE); #- one consider that there is only ONE Internet connection device..
@{$intf->{$interface}}{qw(DEVICE BOOTPROTO NETMASK NETWORK ONBOOT)} = ($interface, $type, '255.255.255.0', $o_netadr, 'yes');