summaryrefslogtreecommitdiffstats
path: root/perl-install/network/adsl.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-10-15 12:36:40 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-10-15 12:36:40 +0000
commitd215cdfa3162fe2c60f2ae779326775d397ab18b (patch)
tree7746569163471ec4ca0c1c710692fd4a29f626f0 /perl-install/network/adsl.pm
parent6d5cba8e5b4f47874e8aab377b7b4181aff6faa2 (diff)
downloaddrakx-d215cdfa3162fe2c60f2ae779326775d397ab18b.tar
drakx-d215cdfa3162fe2c60f2ae779326775d397ab18b.tar.gz
drakx-d215cdfa3162fe2c60f2ae779326775d397ab18b.tar.bz2
drakx-d215cdfa3162fe2c60f2ae779326775d397ab18b.tar.xz
drakx-d215cdfa3162fe2c60f2ae779326775d397ab18b.zip
cleanup
Diffstat (limited to 'perl-install/network/adsl.pm')
-rw-r--r--perl-install/network/adsl.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index 7b1566b92..5066f61ad 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -288,7 +288,7 @@ 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';
+ my $noipdefault = $adsl_type eq 'pptp' ? '' : 'noipdefault';
output("$::prefix/etc/ppp/peers/ppp0",
qq(noauth
$noipdefault