summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_openvpn.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@world.inf.org>2012-06-27 11:43:22 +0545
committerPhil Davis <phil.davis@world.inf.org>2012-06-27 11:43:22 +0545
commit48b490ca58d5472596bf51f91c0ad13c21438f9b (patch)
treefb4ad08ecf1e7ad32346de511b6a4eb9e19c62fe /usr/local/www/status_openvpn.php
parent53842a6c677ac718da26f20a097b40583b6f056b (diff)
downloadpfsense-48b490ca58d5472596bf51f91c0ad13c21438f9b.zip
pfsense-48b490ca58d5472596bf51f91c0ad13c21438f9b.tar.gz
Only display "No OpenVPN instance defined" if there really are none.
Diffstat (limited to 'usr/local/www/status_openvpn.php')
-rw-r--r--usr/local/www/status_openvpn.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/status_openvpn.php b/usr/local/www/status_openvpn.php
index a5ff598..adc7b39 100644
--- a/usr/local/www/status_openvpn.php
+++ b/usr/local/www/status_openvpn.php
@@ -304,7 +304,7 @@ if ($DisplayNote) {
echo "<br/><b>" . gettext("NOTE") . ":</b> " . gettext("You need to bind each OpenVPN client to enable its management daemon: use 'Local port' setting in the OpenVPN client screen");
}
-if ((empty($clients)) && (empty($servers))) {
+if ((empty($clients)) && (empty($servers)) && (empty($sk_servers))) {
echo gettext("No OpenVPN instance defined");
}
?>
OpenPOWER on IntegriCloud