bugfix, disconnect state detected after disconnect from ysfreflector

This commit is contained in:
dg9vh 2016-09-25 16:45:54 +00:00
parent db312df3e5
commit 662fa9bb02
2 changed files with 6 additions and 2 deletions

View file

@ -450,7 +450,11 @@ function getActualLink($logLines, $mode) {
$to = ""; $to = "";
if (strpos($logLine,"Starting YSFGateway")) { if (strpos($logLine,"Starting YSFGateway")) {
$to = -1; $to = -1;
}if (strpos($logLine,"Connect to")) { }
if (strpos($logLine,"DISCONNECT Reply")) {
$to = -1;
}
if (strpos($logLine,"Connect to")) {
$to = substr($logLine, 47, 5); $to = substr($logLine, 47, 5);
} }
if ($to !== "") { if ($to !== "") {

View file

@ -1,3 +1,3 @@
<?php <?php
define("VERSION", "20160925-2"); define("VERSION", "20160925-3");
?> ?>