Parent Directory | Revision Log | Patch
revision 330 by dpavlin, Fri Aug 28 22:29:08 2009 UTC | revision 331 by dpavlin, Fri Aug 28 22:36:06 2009 UTC | |
---|---|---|
# | Line 31 sub fping { | Line 31 sub fping { |
31 | ||
32 | while (my ($host,$rtt,$ip) = $p->ack) { | while (my ($host,$rtt,$ip) = $p->ack) { |
33 | $status->{$ip}->{rtt} = $rtt * 1000; # ms | $status->{$ip}->{rtt} = $rtt * 1000; # ms |
34 | warn "# $host $rtt $ip\n"; | |
35 | client::conf( $ip => 'hostname', default => $host ) if $host ne $ip; | |
36 | } | } |
37 | ||
38 | warn dump($status); | warn dump($status); |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |