summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-09-13 13:27:40 +0000
committerOlivier Blin <oblin@mandriva.org>2004-09-13 13:27:40 +0000
commit878327ba59f708891d9ee8aba1ef6940928fa4ee (patch)
tree5aed6ba428f0dcefd658e36aa4ef58e0e00f3870
parentddfb9fb0af4ff35ba3b7cc2f392f46bfe42a45e7 (diff)
downloaddrakx-backup-do-not-use-878327ba59f708891d9ee8aba1ef6940928fa4ee.tar
drakx-backup-do-not-use-878327ba59f708891d9ee8aba1ef6940928fa4ee.tar.gz
drakx-backup-do-not-use-878327ba59f708891d9ee8aba1ef6940928fa4ee.tar.bz2
drakx-backup-do-not-use-878327ba59f708891d9ee8aba1ef6940928fa4ee.tar.xz
drakx-backup-do-not-use-878327ba59f708891d9ee8aba1ef6940928fa4ee.zip
(get_default_ippp_interface) use interfaces with true DIAL_ON_IFUP
-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