summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-09-07 05:04:03 +0000
committerOlivier Blin <oblin@mandriva.org>2004-09-07 05:04:03 +0000
commit5f176f0b8fb2aadd3be5b51fa8fd2d05362507ea (patch)
treee088ec92d4f6bd25e0903887d1d034b2716f5fe5 /perl-install/network/netconnect.pm
parentcd5c16317526078d499b2c534b1a302043f762f4 (diff)
downloaddrakx-5f176f0b8fb2aadd3be5b51fa8fd2d05362507ea.tar
drakx-5f176f0b8fb2aadd3be5b51fa8fd2d05362507ea.tar.gz
drakx-5f176f0b8fb2aadd3be5b51fa8fd2d05362507ea.tar.bz2
drakx-5f176f0b8fb2aadd3be5b51fa8fd2d05362507ea.tar.xz
drakx-5f176f0b8fb2aadd3be5b51fa8fd2d05362507ea.zip
pppoa shouldn't be selected by default for ethernet devices, fallback on pppoe
Diffstat (limited to 'perl-install/network/netconnect.pm')
-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 90aec99fe..2bcda0049 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -749,6 +749,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";
+ #- pppoa shouldn't be selected by default for ethernet devices, fallback on pppoe
+ $adsl_type = "pppoe" if $adsl_type = "pppoa";
}
},
name => N("Connect to the Internet") . "\n\n" .