Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Show the network each network device is connected to in the status page

  • Loading branch information...
commit 77d33dad21901f142026647dea2b1d59e3a25cd3 1 parent ee3fa4a
@lattera authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 classes/Jail.php
View
4 classes/Jail.php
@@ -118,7 +118,7 @@ public function NetworkStatus() {
$status = "";
foreach ($this->network as $n) {
- $status .= (strlen($status) ? ", " : "") . $n->device . " { ";
+ $status .= (strlen($status) ? ", " : "") . "{$n->bridge->name}[{$n->device} { ";
$i= 0;
if ($n->is_span) {
$i++;
@@ -137,7 +137,7 @@ public function NetworkStatus() {
$status .= ($n->IsOnline()) ? " (online)" : " (offline)";
- $status .= " }";
+ $status .= " }]";
}
return $status;
Please sign in to comment.
Something went wrong with that request. Please try again.