/[pxelator]/lib/PXElator/ping.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/PXElator/ping.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch 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);

Legend:
Removed from v.330  
changed lines
  Added in v.331

  ViewVC Help
Powered by ViewVC 1.1.26