maybe this fixes the double-lined watchdog thing
This commit is contained in:
parent
c980268fa4
commit
a3c1faa75b
1 changed files with 2 additions and 1 deletions
3
func.php
3
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 ));
|
||||
|
|
Loading…
Reference in a new issue