Project

General

Profile

Bug #7180

Disabled OpenVPN clients are not shaded in the gui

Added by Mark Wiater 28 days ago. Updated 18 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OpenVPN
Target version:
Start date:
01/31/2017
Due date:
% Done:

100%

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.

Associated revisions

History

#1 Updated by Steve Beaver 28 days ago

  • Assignee set to Steve Beaver

#2 Updated by Steve Beaver 28 days ago

  • Status changed from New to Feedback
  • Assignee changed from Steve Beaver to Mark Wiater

Fixed copy/paste error.

Thanks for the report.

#3 Updated by Steve Beaver 28 days ago

  • % Done changed from 0 to 100

#4 Updated by Jim Pingle 18 days ago

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

Also available in: Atom PDF