aboutsummaryrefslogtreecommitdiffstats
path: root/clients
diff options
context:
space:
mode:
authorKristian Lyngstol <kly@kly.no>2016-03-16 19:31:48 +0000
committerKristian Lyngstol <kly@kly.no>2016-03-16 19:31:48 +0000
commit314bc052854aabb44dd9272ddd82176be5c469d5 (patch)
treef24943727a66aa32cb231830cd5f1f214d12ceb5 /clients
parent77525f31852c93f7e336b0172a9f87674941fd09 (diff)
NMS: Implement improved ping map
e69-2 is looking good. Now with a separate age-entity. Not really used for anything fancy right now, but could be.
Diffstat (limited to 'clients')
-rwxr-xr-xclients/ping.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/clients/ping.pl b/clients/ping.pl
index 80c389a..93d759f 100755
--- a/clients/ping.pl
+++ b/clients/ping.pl
@@ -46,6 +46,7 @@ while (1) {
next if (!defined($switch));
$latency //= "\\N";
+ $latency*=1000;
$dbh->pg_putcopydata("$switch\t$latency\n");
}
$dbh->pg_putcopyend();