diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-09-26 10:32:12 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-09-26 10:32:12 -0300 |
commit | 7717ee0b4d8644ec070543938d8c6274c5e9c625 (patch) | |
tree | deb86c4a7a3b53617fe010a407a72303f8713b29 /usr/local/www/status_openvpn.php | |
parent | 9c43a910afe77d425d73073d5ed14878b32d9dd1 (diff) | |
download | pfsense-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.php | 8 |
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"> |