diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-09-13 13:27:40 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-09-13 13:27:40 +0000 |
commit | 878327ba59f708891d9ee8aba1ef6940928fa4ee (patch) | |
tree | 5aed6ba428f0dcefd658e36aa4ef58e0e00f3870 /perl-install | |
parent | ddfb9fb0af4ff35ba3b7cc2f392f46bfe42a45e7 (diff) | |
download | drakx-878327ba59f708891d9ee8aba1ef6940928fa4ee.tar drakx-878327ba59f708891d9ee8aba1ef6940928fa4ee.tar.gz drakx-878327ba59f708891d9ee8aba1ef6940928fa4ee.tar.bz2 drakx-878327ba59f708891d9ee8aba1ef6940928fa4ee.tar.xz drakx-878327ba59f708891d9ee8aba1ef6940928fa4ee.zip |
(get_default_ippp_interface) use interfaces with true DIAL_ON_IFUP
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/network/tools.pm | 2 |
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 |