VPN: OpenVPN: Connection Status - remove duplicate and irrelevant data for the client session in question.

This commit is contained in:
Ad Schellevis 2024-07-11 09:06:34 +02:00
parent a0f862badc
commit e406d51219

View File

@ -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 {