mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
ipsec: fix mobile switch logic
PR: https://forum.opnsense.org/index.php?topic=27291.0
This commit is contained in:
parent
901523cb01
commit
f064082abc
@ -189,7 +189,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
|
||||
/* mobile client */
|
||||
foreach ($config['ipsec']['phase1'] as $phase1ent) {
|
||||
if ($phase1ent['ikeid'] == $pconfig['ikeid']) {
|
||||
if ($phase1ent['ikeid'] == $pconfig['ikeid'] && isset($phase1ent['mobile'])) {
|
||||
$pconfig['mobile'] = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user