summaryrefslogtreecommitdiffstats
path: root/perl-install/network.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>1999-11-08 10:02:01 +0000
committerFrancois Pons <fpons@mandriva.com>1999-11-08 10:02:01 +0000
commit3240a98c869b07d8ac517a55f5988399b0249e75 (patch)
treeeb6eef29e64811e21735783d9c01901a38b38111 /perl-install/network.pm
parent0f16f9693f47687136e5058916d0d04dcb611217 (diff)
downloaddrakx-3240a98c869b07d8ac517a55f5988399b0249e75.tar
drakx-3240a98c869b07d8ac517a55f5988399b0249e75.tar.gz
drakx-3240a98c869b07d8ac517a55f5988399b0249e75.tar.bz2
drakx-3240a98c869b07d8ac517a55f5988399b0249e75.tar.xz
drakx-3240a98c869b07d8ac517a55f5988399b0249e75.zip
*** empty log message ***
Diffstat (limited to 'perl-install/network.pm')
-rw-r--r--perl-install/network.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network.pm b/perl-install/network.pm
index c5d1b6a97..fa5b1f3e9 100644
--- a/perl-install/network.pm
+++ b/perl-install/network.pm
@@ -158,7 +158,7 @@ sub findIntf {
$l;
}
#PAD \s* a la fin
-my $ip_regexp = qr/(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/;
+my $ip_regexp = qr/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/;
sub is_ip {
my ($ip) = @_;
return 0 unless $ip =~ $ip_regexp;