diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-08-30 13:10:44 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-08-30 13:10:44 +0000 |
commit | a26bb18b2c060960123ae7de765d7856902e9854 (patch) | |
tree | e50154e22a6ac25965c15a3fa817e2ebec0508c0 /perl-install/network | |
parent | dc6d19b1cc33b5bf7ad00589183fab12ce192cdd (diff) | |
download | drakx-backup-do-not-use-a26bb18b2c060960123ae7de765d7856902e9854.tar drakx-backup-do-not-use-a26bb18b2c060960123ae7de765d7856902e9854.tar.gz drakx-backup-do-not-use-a26bb18b2c060960123ae7de765d7856902e9854.tar.bz2 drakx-backup-do-not-use-a26bb18b2c060960123ae7de765d7856902e9854.tar.xz drakx-backup-do-not-use-a26bb18b2c060960123ae7de765d7856902e9854.zip |
NET_DEVICE is the ethernet interface for pptp too
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/netconnect.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index cd19676a7..903574d3c 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -773,7 +773,7 @@ If you don't know, choose 'use PPPoE'"), return 'lan_intf'; } network::adsl::adsl_probe_info($netcnx, $netc, $adsl_type, $ntf_name); - $netc->{NET_DEVICE} = $adsl_type eq 'pppoe' ? $ntf_name : 'ppp0'; + $netc->{NET_DEVICE} = member($adsl_type, 'pppoe', 'pptp') ? $ntf_name : 'ppp0'; $netc->{NET_INTERFACE} = 'ppp0'; return 'adsl_account'; }, |