mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 00:07:26 +00:00
VPN: OpenVPN: Instances - vpnid mixed up with server identifier in getInstanceById(), closes https://github.com/opnsense/core/issues/6784
This commit is contained in:
parent
f56c6e2a0b
commit
78d49d85fe
@ -277,7 +277,7 @@ class OpenVPN extends BaseModel
|
||||
}
|
||||
return [
|
||||
'role' => (string)$node->role,
|
||||
'vpnid' => $server_id,
|
||||
'vpnid' => (string)$node->vpnid,
|
||||
'authmode' => (string)$node->authmode,
|
||||
'local_group' => $local_group,
|
||||
'strictusercn' => (string)$node->strictusercn,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user