summaryrefslogtreecommitdiffstats
path: root/modules-available/debugconfig/page.inc.php
diff options
context:
space:
mode:
authorChristoph Schulthess2017-04-06 14:32:01 +0200
committerChristoph Schulthess2017-04-06 14:32:01 +0200
commit2e063ab8fbc30fbaf16bd064e0bf9730fea0dca3 (patch)
treed9e33e9b99bb07b215081eeca20f7bca4ba3f93a /modules-available/debugconfig/page.inc.php
parenttroubleshooting (diff)
downloadslx-admin-2e063ab8fbc30fbaf16bd064e0bf9730fea0dca3.tar.gz
slx-admin-2e063ab8fbc30fbaf16bd064e0bf9730fea0dca3.tar.xz
slx-admin-2e063ab8fbc30fbaf16bd064e0bf9730fea0dca3.zip
shiny module
Diffstat (limited to 'modules-available/debugconfig/page.inc.php')
-rw-r--r--modules-available/debugconfig/page.inc.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules-available/debugconfig/page.inc.php b/modules-available/debugconfig/page.inc.php
index 3ec394f6..27ef94fd 100644
--- a/modules-available/debugconfig/page.inc.php
+++ b/modules-available/debugconfig/page.inc.php
@@ -51,12 +51,14 @@ class Page_debugConfig extends Page
foreach ($relays as $key => $value) {
$task = Taskmanager::status($value);
$finished = Taskmanager::isFinished($task);
- $endpoints = $task["data"]["endpoints"];
+ //$endpoints = $task["data"]["endpoints"];
if ($task["statusCode"] == "NO_SUCH_INSTANCE" || $finished) {
Property::removeFromList("DispatchedRelay", $value);
unset($relays[$key]);
}
- $relays[$key] = array("id" => $value, "bwlpclient" => $endpoints[0], "debugserver" => $endpoints[1]);
+ $relays[$key] = array("id" => $value, "port" => $task["data"]["listenPort"],
+ "code" => $task["statusCode"], "cltAddress" => $task["data"]["cltAddr"]);
+ //$relays[$key] = array("id" => $value, "bwlpclient" => $endpoints[0], "debugserver" => $endpoints[1]);
}
return $relays;
}