summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_openvpn.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-09-26 10:32:12 -0300
committerRenato Botelho <garga@FreeBSD.org>2013-09-26 10:32:12 -0300
commit7717ee0b4d8644ec070543938d8c6274c5e9c625 (patch)
treedeb86c4a7a3b53617fe010a407a72303f8713b29 /usr/local/www/status_openvpn.php
parent9c43a910afe77d425d73073d5ed14878b32d9dd1 (diff)
downloadpfsense-7717ee0b4d8644ec070543938d8c6274c5e9c625.zip
pfsense-7717ee0b4d8644ec070543938d8c6274c5e9c625.tar.gz
Remove use of undefined var $conn and fix some td class
Diffstat (limited to 'usr/local/www/status_openvpn.php')
-rw-r--r--usr/local/www/status_openvpn.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/status_openvpn.php b/usr/local/www/status_openvpn.php
index 1e5f806..a060e53 100644
--- a/usr/local/www/status_openvpn.php
+++ b/usr/local/www/status_openvpn.php
@@ -280,11 +280,11 @@ include("head.inc"); ?>
</tr>
<?php foreach ($sk_servers as $sk_server): ?>
- <tr name='<?php echo "r:{$client['port']}:{$conn['remote_host']}"; ?>'>
+ <tr name='<?php echo "r:{$sk_server['port']}:{$sk_server['vpnid']}"; ?>'>
<td class="listlr">
<?=$sk_server['name'];?>
</td>
- <td class="listlr">
+ <td class="listr">
<?=$sk_server['status'];?>
</td>
<td class="listr">
@@ -341,11 +341,11 @@ include("head.inc"); ?>
</tr>
<?php foreach ($clients as $client): ?>
- <tr name='<?php echo "r:{$client['port']}:{$conn['remote_host']}"; ?>'>
+ <tr name='<?php echo "r:{$client['port']}:{$client['vpnid']}"; ?>'>
<td class="listlr">
<?=$client['name'];?>
</td>
- <td class="listlr">
+ <td class="listr">
<?=$client['status'];?>
</td>
<td class="listr">
OpenPOWER on IntegriCloud