diff options
-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"); } |