correction in detecting link-state of YSF
This commit is contained in:
parent
6e57175b91
commit
0853d3fd9c
2 changed files with 3 additions and 3 deletions
|
@ -447,7 +447,7 @@ function getActualLink($logLines, $mode) {
|
|||
// 01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901
|
||||
// M: 2016-09-25 16:08:05.811 Connect to 62829 has been requested by DG9VH
|
||||
foreach($logLines as $logLine) {
|
||||
$to = "";
|
||||
$to = -1;
|
||||
if (strpos($logLine,"Starting YSFGateway")) {
|
||||
$to = -1;
|
||||
}
|
||||
|
@ -461,7 +461,7 @@ function getActualLink($logLines, $mode) {
|
|||
return $to;
|
||||
}
|
||||
}
|
||||
return "not linked";
|
||||
return -1;
|
||||
break;
|
||||
}
|
||||
return "something went wrong!";
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
define("VERSION", "20160928-1");
|
||||
define("VERSION", "20160930-1");
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue