summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/network.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index 31944f2d9..a48562214 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -334,7 +334,7 @@ notation (for example, 1.2.3.4).");
}
return 0 if $auto_ip;
- if (my @bad = map_index { if_(is_ip($intf->{$_}), $::i) } @fields) {
+ if (my @bad = map_index { if_(!is_ip($intf->{$_}), $::i) } @fields) {
$in->ask_warn('', N("IP address should be in format 1.2.3.4"));
return 1, $bad[0];
}