mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-18 18:44:44 +00:00
VPN: OpenVPN: Connection Status - remove duplicate and irrelevant data for the client session in question.
This commit is contained in:
parent
a0f862badc
commit
e406d51219
@ -98,6 +98,8 @@ class ServiceController extends ApiControllerBase
|
||||
$tmp = array_merge($stats, $client);
|
||||
$tmp['id'] .= '_' . $client['real_address'];
|
||||
$tmp['is_client'] = true;
|
||||
unset($tmp['client_list']);
|
||||
unset($tmp['routing_table']);
|
||||
$records[] = $tmp;
|
||||
}
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user