summaryrefslogtreecommitdiffstats
path: root/perl-install/network/adsl.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-16 11:46:56 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-16 11:46:56 +0000
commite0741b0c14443ad3c7ecf395c994383fbc117571 (patch)
tree5441bdd89faaabca88408597e98f3bd804cbfa57 /perl-install/network/adsl.pm
parent56677097a17593dfad30902afd65892e8fac7a88 (diff)
downloaddrakx-backup-do-not-use-e0741b0c14443ad3c7ecf395c994383fbc117571.tar
drakx-backup-do-not-use-e0741b0c14443ad3c7ecf395c994383fbc117571.tar.gz
drakx-backup-do-not-use-e0741b0c14443ad3c7ecf395c994383fbc117571.tar.bz2
drakx-backup-do-not-use-e0741b0c14443ad3c7ecf395c994383fbc117571.tar.xz
drakx-backup-do-not-use-e0741b0c14443ad3c7ecf395c994383fbc117571.zip
do not write noipdefault in /etc/ppp/peers/ppp0 for pptp connections
Diffstat (limited to 'perl-install/network/adsl.pm')
-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