From a26bb18b2c060960123ae7de765d7856902e9854 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 30 Aug 2004 13:10:44 +0000 Subject: NET_DEVICE is the ethernet interface for pptp too --- perl-install/network/netconnect.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') 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'; }, -- cgit v1.2.1