From 3114f619c252e7b7ecd26e5f9e03263c3e5f4846 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 10 Sep 2004 04:17:15 +0000 Subject: (update_status) handle decimal ping time with comma instead of dot --- perl-install/network/test.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/network/test.pm b/perl-install/network/test.pm index 2b07234d2..92ba858b5 100644 --- a/perl-install/network/test.pm +++ b/perl-install/network/test.pm @@ -98,7 +98,7 @@ sub update_status { fcntl($fd, c::F_SETFL(), c::O_NONBLOCK()) or die "can't fcntl F_SETFL: $!"; local $| = 1; if (defined(my $output = <$fd>)) { - ($o->{address}, $o->{ping}) = $output =~ /^([\d\.]+)\|([\d\.]+)*$/; + ($o->{address}, $o->{ping}) = $output =~ /^([\d\.]+)\|([\d\.\,]+)*$/; $o->{done} = 1; undef $o->{kid}; } -- cgit v1.2.1