mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
VPN: IPsec: Tunnel Settings - allow search all phase2 entries via an api call.
This commit is contained in:
parent
5169315bf2
commit
789a151f2d
@ -156,7 +156,7 @@ class TunnelController extends ApiControllerBase
|
||||
}
|
||||
foreach ($config->ipsec->phase2 as $p2) {
|
||||
$ikeid = intval((string)$p2->ikeid);
|
||||
if ($ikeid != $selected_ikeid) {
|
||||
if ($ikeid != $selected_ikeid && $selected_ikeid != -1) {
|
||||
$p2idx++;
|
||||
continue;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user