diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-08-16 13:09:08 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-08-16 13:09:08 +0000 |
commit | 60ca194557405f1f5b8bb38afbc51da1752b1923 (patch) | |
tree | 9ad755f697dce99f1cf10e5c6ca777b2d78305ff /perl-install/network/netconnect.pm | |
parent | d009b7ca93ed38a7dd4c3ec618982248bc689422 (diff) | |
download | drakx-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
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r-- | perl-install/network/netconnect.pm | 3 |
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'; }, }, |