mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-18 02:25:05 +00:00
IPsec, regression in 7be00bc067, $right_spec translated to $ph1ent['remote-gateway'] for non-mobile in earlier versions. closes https://github.com/opnsense/core/issues/5187
This commit is contained in:
parent
b9b8fd9614
commit
293fe8ab43
@ -436,7 +436,7 @@ function ipsec_parse_phase2($ikeid)
|
||||
$result['leftsubnets'][] = $tmpsubnet;
|
||||
}
|
||||
if (!isset($ph2ent['mobile'])) {
|
||||
$result['rightsubnets'][] = $right_spec;
|
||||
$result['rightsubnets'][] = $ph1ent['remote-gateway'];
|
||||
}
|
||||
}
|
||||
$uniqids[] = $ph2ent['uniqid'];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user