summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/network/adsl.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index 41d9894e9..a19c56288 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -248,9 +248,10 @@ defaultroute)
my $pty_option = $modems{$adsl_device}{server}{$adsl_type} && "pty $modems{$adsl_device}{server}{$adsl_type}";
my $plugin = $modems{$adsl_device}{plugin}{$adsl_type} && "plugin $modems{$adsl_device}{plugin}{$adsl_type}";
+ my $noipdefault = 'noipdefault' unless $adsl_type eq 'pptp';
output("$::prefix/etc/ppp/peers/ppp0",
qq(noauth
-noipdefault
+$noipdefault
$modems{$adsl_device}{ppp_options}
kdebug 1
nopcomp