summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-16 13:09:08 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-16 13:09:08 +0000
commit60ca194557405f1f5b8bb38afbc51da1752b1923 (patch)
tree9ad755f697dce99f1cf10e5c6ca777b2d78305ff
parentd009b7ca93ed38a7dd4c3ec618982248bc689422 (diff)
downloaddrakx-60ca194557405f1f5b8bb38afbc51da1752b1923.tar
drakx-60ca194557405f1f5b8bb38afbc51da1752b1923.tar.gz
drakx-60ca194557405f1f5b8bb38afbc51da1752b1923.tar.bz2
drakx-60ca194557405f1f5b8bb38afbc51da1752b1923.tar.xz
drakx-60ca194557405f1f5b8bb38afbc51da1752b1923.zip
NET_INTERFACE should be ppp0 for pppoe too
-rw-r--r--perl-install/network/netconnect.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 8e68dcad8..1999fbec5 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -773,7 +773,8 @@ If you don't know, choose 'use pppoe'"),
return 'lan_intf';
}
network::adsl::adsl_probe_info($netcnx, $netc, $adsl_type, $ntf_name);
- $netc->{$_} = $adsl_type eq 'pppoe' ? $ntf_name : 'ppp0' foreach 'NET_DEVICE', 'NET_INTERFACE';
+ $netc->{NET_DEVICE} = $adsl_type eq 'pppoe' ? $ntf_name : 'ppp0';
+ $netc->{NET_INTERFACE} = 'ppp0';
return 'adsl_account';
},
},