summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-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;