summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-12-04 17:05:57 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-12-04 17:05:57 +0000
commit8cee632ac1ebf87bc5ac523ab57b096db6b19e18 (patch)
tree0d231fa872fc32b5ed26b1e46998b2c74bccaa16 /perl-install/network
parentd23be7ab76f618fdcaeb92b0563e90eb9e8cbd45 (diff)
downloaddrakx-8cee632ac1ebf87bc5ac523ab57b096db6b19e18.tar
drakx-8cee632ac1ebf87bc5ac523ab57b096db6b19e18.tar.gz
drakx-8cee632ac1ebf87bc5ac523ab57b096db6b19e18.tar.bz2
drakx-8cee632ac1ebf87bc5ac523ab57b096db6b19e18.tar.xz
drakx-8cee632ac1ebf87bc5ac523ab57b096db6b19e18.zip
(is_dynamic_ip) handle habing ppp like interfaces in interfaces list
Diffstat (limited to 'perl-install/network')
-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 2209fdcc8..05ef51c94 100644
--- a/perl-install/network/tools.pm
+++ b/perl-install/network/tools.pm
@@ -324,7 +324,7 @@ sub is_wireless_intf {
sub is_dynamic_ip {
my ($intf) = @_;
- every { $_->{BOOTPROTO} eq "static" } values %$intf
+ any { $_->{BOOTPROTO} !~ /^(none|static|)$/ } values %$intf;
}
1;