summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/vpn.inc3
1 files changed, 0 insertions, 3 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 193a867..31f907a 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -1172,15 +1172,12 @@ EOD;
if (!isset($ph1ent['mobile']) && $keyexchange == 'ikev1') {
if (!empty($rightsubnet_spec)) {
$ipsecfin = '';
- $keyingtries = 3;
foreach ($rightsubnet_spec as $idx => $rsubnet) {
$ipsecfin .= "\nconn con{$ph1ent['ikeid']}00{$idx}\n";
if (!empty($reqids[$idx])) {
$ipsecfin .= "\treqid = " . $reqids[$idx] . "\n";
}
$ipsecfin .= $ipsecconnect;
- $ipsecfin .= "\tkeyingtries = {$keyingtries}\n";
- $keyingtries++;
$ipsecfin .= "\trightsubnet = {$rsubnet}\n";
$ipsecfin .= "\tleftsubnet = " . $leftsubnet_spec[$idx] . "\n";
}
OpenPOWER on IntegriCloud