summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 c43565c0d..2620d3925 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -671,7 +671,7 @@ killall pppd
},
post => sub {
$adsl_data = $adsl_data{$adsl_provider};
- $adsl_type = 'pppoa' if $ntf_name eq 'speedtouch';
+ $adsl_type = 'pppoa' if member($ntf_name, qw(bewan speedtouch));
if ($adsl_provider ne $adsl_old_provider) {
$netc->{$_} = $adsl_data->{$_} foreach qw(dnsServer2 dnsServer3 DOMAINNAME2 Encapsulation vpi vci);
$adsl_type ||= $adsl_data->{method};