Bug #3769 » strongswan.patch
etc/inc/vpn.inc | ||
---|---|---|
504 | 504 |
$ipsecconf .= "config setup\n\tuniqueids = yes\n"; |
505 | 505 |
$ipsecconf .= "\tcharondebug=\"" . vpn_ipsec_configure_loglevels(true) . "\"\n"; |
506 | 506 | |
507 |
foreach ($a_phase2 as $ph2ent) { |
|
507 |
foreach ($a_phase2 as $ph2_index => $ph2ent) {
|
|
508 | 508 |
$ikeid = $ph2ent['ikeid']; |
509 | 509 | |
510 | 510 |
$ph1ent = false; |
... | ... | |
725 | 725 | |
726 | 726 |
$ipsecconf .=<<<EOD |
727 | 727 | |
728 |
conn con{$ph1ent['ikeid']}-{$ph2ent['ikeid']}
|
|
728 |
conn con{$ph2_index}-{$ph1ent['ikeid']}
|
|
729 | 729 |
aggressive = {$aggressive} |
730 | 730 |
fragmentation = yes |
731 | 731 |
keyexchange = {$keyexchange} |
- « Previous
- 1
- 2
- 3
- Next »