summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorDamien Chaumette <dchaumette@mandriva.com>2003-01-24 20:08:33 +0000
committerDamien Chaumette <dchaumette@mandriva.com>2003-01-24 20:08:33 +0000
commitfb5cbbfc627c4999a98e9f81ebdbe54e8a4fc2e2 (patch)
tree66ab2a7d5c8d14da2e80b8c45f698beea369beb5 /perl-install/network
parent11ca0d14597e8399c4219c94607275983ea10a46 (diff)
downloaddrakx-backup-do-not-use-fb5cbbfc627c4999a98e9f81ebdbe54e8a4fc2e2.tar
drakx-backup-do-not-use-fb5cbbfc627c4999a98e9f81ebdbe54e8a4fc2e2.tar.gz
drakx-backup-do-not-use-fb5cbbfc627c4999a98e9f81ebdbe54e8a4fc2e2.tar.bz2
drakx-backup-do-not-use-fb5cbbfc627c4999a98e9f81ebdbe54e8a4fc2e2.tar.xz
drakx-backup-do-not-use-fb5cbbfc627c4999a98e9f81ebdbe54e8a4fc2e2.zip
fix typo
Diffstat (limited to 'perl-install/network')
-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];
}