diff --git a/func.php b/func.php index 38069f2..8eace26 100644 --- a/func.php +++ b/func.php @@ -476,7 +476,8 @@ function getLastHeardYSF($logpath = MMDVMHOST_LOGPATH, $prefix = MMDVMHOST_PREFI } } elseif( strpos( $line, "network watchdog" )) { if( strpos( $oldline, "network watchdog" )) { - break; + $line = $oldline; + continue; } $time = date( "Y-m-d H:i:s", strtotime( substr( $oldline, 3, 23 )." UTC" )); $callsign = trim( substr( $oldline, 59, strpos( $oldline, "to" ) - 59 ));