Bug #6263 ยป pfsense-bug-6263.diff
vpn.inc 2018-02-05 23:32:50.306744000 +0000 | ||
---|---|---|
1236 | 1236 | |
1237 | 1237 |
if ($ph2ent['protocol'] == 'esp') { |
1238 | 1238 |
if (is_array($ph2ent['encryption-algorithm-option'])) { |
1239 |
# resetting ealgoESPsp2arr prevents the esp option from being added to the existing entry for each phase 2 section |
|
1240 |
$ealgoESPsp2arr = array(); |
|
1239 | 1241 |
foreach ($ph2ent['encryption-algorithm-option'] as $ealg) { |
1240 | 1242 |
$ealg_id = $ealg['name']; |
1241 | 1243 |
$ealg_kl = $ealg['keylen']; |