Project

General

Profile

Actions

Bug #7180

closed

Disabled OpenVPN clients are not shaded in the gui

Added by Mark Wiater about 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OpenVPN
Target version:
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']}";
?>
&lt;tr <?=isset($server['disable']) ? 'class="disabled"':''?>>

Changing the isset to $client['disable']

sets disabled openvpn clients to a dimmed font in the gui.

Actions

Also available in: Atom PDF