Project

General

Profile

Actions

Bug #7180

closed

Disabled OpenVPN clients are not shaded in the gui

Added by Mark Wiater almost 8 years ago. Updated almost 8 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 #1

Updated by Anonymous almost 8 years ago

  • Assignee set to Anonymous
Actions #2

Updated by Anonymous almost 8 years ago

  • Status changed from New to Feedback
  • Assignee changed from Anonymous to Mark Wiater

Fixed copy/paste error.

Thanks for the report.

Actions #3

Updated by Anonymous almost 8 years ago

  • % Done changed from 0 to 100
Actions #4

Updated by Jim Pingle almost 8 years ago

  • Category set to OpenVPN
  • Status changed from Feedback to Resolved
  • Target version set to 2.3.3
  • Affected Version set to All
Actions

Also available in: Atom PDF