summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/network/netconnect.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index fdd628b16..d0041c704 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -830,6 +830,8 @@ and copy the mgmt.o in /usr/share/speedtouch", 'http://prdownloads.sourceforge.n
if (!exists $adsl_devices{$ntf_name}) {
$ethntf = $intf->{$ntf_name} ||= { DEVICE => $ntf_name };
$adsl_type ||= $ethntf->{BOOTPROTO} || "dhcp";
+ #- FIXME: use static instead of manual as key in %adsl_devices
+ $adsl_type = "manual" if $adsl_type eq "static";
#- pppoa shouldn't be selected by default for ethernet devices, fallback on pppoe
$adsl_type = "pppoe" if $adsl_type eq "pppoa";
}