summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-30 13:10:44 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-30 13:10:44 +0000
commita26bb18b2c060960123ae7de765d7856902e9854 (patch)
treee50154e22a6ac25965c15a3fa817e2ebec0508c0 /perl-install
parentdc6d19b1cc33b5bf7ad00589183fab12ce192cdd (diff)
downloaddrakx-a26bb18b2c060960123ae7de765d7856902e9854.tar
drakx-a26bb18b2c060960123ae7de765d7856902e9854.tar.gz
drakx-a26bb18b2c060960123ae7de765d7856902e9854.tar.bz2
drakx-a26bb18b2c060960123ae7de765d7856902e9854.tar.xz
drakx-a26bb18b2c060960123ae7de765d7856902e9854.zip
NET_DEVICE is the ethernet interface for pptp too
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/netconnect.pm2
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';
},