Actions
Bug #7180
closedDisabled OpenVPN clients are not shaded in the gui
Start date:
01/31/2017
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:
Description
When I disable an openvpn client, it's not indicated in the clients page. All clients appear the same, active.
Line 833 of vpn_openvpn_clients.php starts processing the list of clients, but it apparently is testing for server information.
foreach ($a_client as $client):
$server = "{$client['server_addr']}:{$client['server_port']}";
?>
<tr <?=isset($server['disable']) ? 'class="disabled"':''?>>
Changing the isset to $client['disable']
sets disabled openvpn clients to a dimmed font in the gui.
Actions