diff options
author | damien <damien@mandriva.com> | 2001-07-19 23:53:04 +0000 |
---|---|---|
committer | damien <damien@mandriva.com> | 2001-07-19 23:53:04 +0000 |
commit | 393a1f6897917ed72268218092ffd3499b5313b2 (patch) | |
tree | 81c081c62cbf5b5d3596a6353f53fa1a04848d7e /perl-install/network/netconnect.pm | |
parent | 3cc427e155f660140ed357945bd64d59ee626fb7 (diff) | |
download | drakx-393a1f6897917ed72268218092ffd3499b5313b2.tar drakx-393a1f6897917ed72268218092ffd3499b5313b2.tar.gz drakx-393a1f6897917ed72268218092ffd3499b5313b2.tar.bz2 drakx-393a1f6897917ed72268218092ffd3499b5313b2.tar.xz drakx-393a1f6897917ed72268218092ffd3499b5313b2.zip |
correct bug. thanx to the little stagiaire.
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r-- | perl-install/network/netconnect.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index 03b7d7fd5..36c319c7d 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -492,6 +492,7 @@ sub read_net_conf { add2hash($netcnx, { getVarsFromSh("$prefix/etc/sysconfig/draknet") }); $netc->{$_} = $netcnx->{$_} foreach 'NET_DEVICE', 'NET_INTERFACE'; #- print "type : $netcnx->{type}\n device : $netcnx->{NET_DEVICE}\n interface : $netcnx->{NET_INTERFACE}\n"; + $netcnx->{$netcnx->{type}}||={}; add2hash($netcnx->{$netcnx->{type}}, { getVarsFromSh("$prefix/etc/sysconfig/draknet." . $netcnx->{type}) }); } |