mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 08:34:39 +00:00
IPSec - missing a bracket for https://github.com/opnsense/core/issues/6276
This commit is contained in:
parent
a6c6a29823
commit
4ff07568ec
@ -1332,7 +1332,7 @@ function ipsec_configure_do($verbose = false, $interface = '')
|
||||
|
||||
$connection = [
|
||||
'unique' => !empty($ph1ent['unique']) ? $ph1ent['unique'] : 'replace',
|
||||
'aggressive' => $ph1ent['mode'] ?? '' == 'aggressive' ? 'yes' : 'no',
|
||||
'aggressive' => ($ph1ent['mode'] ?? '') == 'aggressive' ? 'yes' : 'no',
|
||||
'version' => ($ph1ent['iketype'] ?? '') == 'ikev2' ? 2 : 1,
|
||||
'mobike' => !empty($ph1ent['mobike']) ? 'no' : 'yes',
|
||||
'local_addrs' => $ep,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user