summaryrefslogtreecommitdiffstats
path: root/usr
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:47:14 -0300
commit1650e1ec517c414184647ff18bed4cc9821d3d9e (patch)
treeac8e428aa0a43b2e115e09d72f54c7b03fc91d0e /usr
parent5205b0eb7bb35c3a85da5f78a854010e7ee1397d (diff)
downloadpfsense-1650e1ec517c414184647ff18bed4cc9821d3d9e.zip
pfsense-1650e1ec517c414184647ff18bed4cc9821d3d9e.tar.gz
Remove use of undefined var $conn and fix some td class
Diffstat (limited to 'usr')
-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