summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_openvpn.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-08-16 16:42:46 -0400
committerjim-p <jimp@pfsense.org>2010-08-16 16:42:46 -0400
commit41be629f09256ea9b0aafd880a4d638a423ccd28 (patch)
tree637d29c4f44422dac2a8e3aec0471506119dee43 /usr/local/www/status_openvpn.php
parent036371d20156f2dd6550a5ca46c2351c8c65939e (diff)
downloadpfsense-41be629f09256ea9b0aafd880a4d638a423ccd28.zip
pfsense-41be629f09256ea9b0aafd880a4d638a423ccd28.tar.gz
Print a notice that OpenVPN status information is not available for shared key servers.
Diffstat (limited to 'usr/local/www/status_openvpn.php')
-rw-r--r--usr/local/www/status_openvpn.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/local/www/status_openvpn.php b/usr/local/www/status_openvpn.php
index 4e0c520..729ed70 100644
--- a/usr/local/www/status_openvpn.php
+++ b/usr/local/www/status_openvpn.php
@@ -136,6 +136,9 @@ include("head.inc"); ?>
</td>
</tr>
<tr>
+<?php if ($server['mode'] == "p2p_shared_key"): ?>
+ <td>Status data is not available for shared key servers.</td>
+<?php else: ?>
<td>
<table style="padding-top:0px; padding-bottom:0px; padding-left:0px; padding-right:0px" class="tabcont sortable" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
@@ -182,6 +185,7 @@ include("head.inc"); ?>
</table>
</td>
+<? endif; ?>
</tr>
</table>
OpenPOWER on IntegriCloud