diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2016-04-04 09:53:36 -0400 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-04-04 09:53:36 -0400 |
commit | 1dae6c0f4184ac72c252fb934d2bfa4fd3a967fe (patch) | |
tree | c9bb57ee9f3adb15312403c22a2aed1c1b6865a5 | |
parent | e18fb7e8bbf8c26639d0598fa04320c5608ce660 (diff) | |
parent | 1aa20aa36c46d73dd1ba2676521428583ccbae3e (diff) | |
download | pfsense-1dae6c0f4184ac72c252fb934d2bfa4fd3a967fe.zip pfsense-1dae6c0f4184ac72c252fb934d2bfa4fd3a967fe.tar.gz |
Merge pull request #2829 from phil-davis/openvpn-widget
-rw-r--r-- | src/etc/inc/openvpn.inc | 1 | ||||
-rw-r--r-- | src/usr/local/www/widgets/widgets/openvpn.widget.php | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/etc/inc/openvpn.inc b/src/etc/inc/openvpn.inc index e2ae7fb..502d770 100644 --- a/src/etc/inc/openvpn.inc +++ b/src/etc/inc/openvpn.inc @@ -1614,7 +1614,6 @@ function openvpn_get_client_status($client, $socket) { fclose($fp); } else { - $DisplayNote=true; $client['remote_host'] = gettext("Unable to contact daemon"); $client['virtual_addr'] = gettext("Service not running?"); $client['bytes_recv'] = 0; diff --git a/src/usr/local/www/widgets/widgets/openvpn.widget.php b/src/usr/local/www/widgets/widgets/openvpn.widget.php index f23e95c..756b235 100644 --- a/src/usr/local/www/widgets/widgets/openvpn.widget.php +++ b/src/usr/local/www/widgets/widgets/openvpn.widget.php @@ -255,10 +255,6 @@ $clients = openvpn_get_active_clients(); <?php } -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)) && (empty($sk_servers))) { echo gettext("No OpenVPN instances defined"); } |