Provide a description for the dirty hack to not come back scratching.... on it

This commit is contained in:
Ermal LUÇI 2015-04-24 17:33:18 +02:00
parent 7d5add01e4
commit 6d7e7c0c5c

View File

@ -1080,6 +1080,11 @@ EOD;
if (!empty($reqids[$idx]))
$ipsecfin .= "\treqid = " . $reqids[$idx] . "\n";
$ipsecfin .= $ipsecconnect;
/*
* This is for making strongswan consider the various similar
* connection profiles as different and forces it to create
* separate IKE SAs for each subnet from P2
*/
$ipsecfin .= "\tkeyingtries = {$keyingtries}\n";
$keyingtries++;
$ipsecfin .= "\trightsubnet = {$rsubnet}\n";