Hi Jim,

Try this patch

--- FPing.pm.orig       2004-10-30 18:20:34.357015000 +0200
+++ FPing.pm    2004-10-30 18:21:13.836606000 +0200
@@ -62,7 +62,7 @@
          croak "ERROR: FPing must be installed setuid root or it will not 
work\n"
              if $return =~ m/only.+root/;

-        if ($return =~ m/bytes, ([0-9.]+)\sms\s+.*\n.*\n.*:\s+([0-9.]+)/){
+        if ($return =~ m/bytes, ([0-9.]+)\sms\s+.*\n.*\n.*:\s+([0-9.]+)/ and 
$1 > 0){
              $self->{pingfactor} = 1000 * $2/$1;
              print "### fping seems to report in ", $1/$2, " miliseconds\n";
          } else {

tobi


-- 
  ______    __   _
/_  __/_  / /  (_) Oetiker @ ISG.EE, ETL F24.2, ETH, CH-8092 Zurich
  / // _ \/ _ \/ /  System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/oetiker +41(0)44-632-5286

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to