summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/network/tools.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm
index b136dc208..897d83235 100644
--- a/perl-install/network/tools.pm
+++ b/perl-install/network/tools.pm
@@ -251,7 +251,7 @@ sub get_default_ppp_interface {
#- returns ippp interface dialed on boot
sub get_default_ippp_interface {
my ($intf) = @_;
- find { /^ippp\d+/ && text2bool($intf->{$_}{ONBOOT}) && text2bool($intf->{$_}{DIAL_ON_IFUP}) } sort keys %$intf;
+ find { /^ippp\d+/ && (text2bool($intf->{$_}{ONBOOT}) || text2bool($intf->{$_}{DIAL_ON_IFUP})) } sort keys %$intf;
}
#- returns gateway interface if found