diff options
-rw-r--r-- | perl-install/network/adsl.pm | 2 |
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 |