diff options
author | Phil Davis <phil.davis@world.inf.org> | 2012-06-27 11:43:22 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@world.inf.org> | 2012-06-27 11:43:22 +0545 |
commit | 48b490ca58d5472596bf51f91c0ad13c21438f9b (patch) | |
tree | fb4ad08ecf1e7ad32346de511b6a4eb9e19c62fe /usr | |
parent | 53842a6c677ac718da26f20a097b40583b6f056b (diff) | |
download | pfsense-48b490ca58d5472596bf51f91c0ad13c21438f9b.zip pfsense-48b490ca58d5472596bf51f91c0ad13c21438f9b.tar.gz |
Only display "No OpenVPN instance defined" if there really are none.
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/status_openvpn.php | 2 |
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"); } ?> |