diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index 02da0c2..d96a72e 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -504,7 +504,7 @@ EOD; $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; @@ -725,7 +725,7 @@ EOD; $ipsecconf .=<<