Project

General

Profile

Bug #3769 » strongswan.patch

Matthew Smith, 07/23/2014 11:13 AM

View differences:

etc/inc/vpn.inc
$ipsecconf .= "config setup\n\tuniqueids = yes\n";
$ipsecconf .= "\tcharondebug=\"" . vpn_ipsec_configure_loglevels(true) . "\"\n";
foreach ($a_phase2 as $ph2ent) {
foreach ($a_phase2 as $ph2_index => $ph2ent) {
$ikeid = $ph2ent['ikeid'];
$ph1ent = false;
......
$ipsecconf .=<<<EOD
conn con{$ph1ent['ikeid']}-{$ph2ent['ikeid']}
conn con{$ph2_index}-{$ph1ent['ikeid']}
aggressive = {$aggressive}
fragmentation = yes
keyexchange = {$keyexchange}
(3-3/3)