diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-12-04 17:05:57 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-12-04 17:05:57 +0000 |
commit | 8cee632ac1ebf87bc5ac523ab57b096db6b19e18 (patch) | |
tree | 0d231fa872fc32b5ed26b1e46998b2c74bccaa16 /perl-install | |
parent | d23be7ab76f618fdcaeb92b0563e90eb9e8cbd45 (diff) | |
download | drakx-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')
-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 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; |