mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix the IPsec ping hosts file generation. This only worked for the last
tunnel
This commit is contained in:
parent
323f3f9c17
commit
ac463c006f
@ -136,6 +136,7 @@ function vpn_ipsec_configure($ipchg = false)
|
||||
$filterdns_list = array();
|
||||
if (is_array($a_phase1) && count($a_phase1)) {
|
||||
|
||||
$ipsecpinghosts = "";
|
||||
/* step through each phase1 entry */
|
||||
foreach ($a_phase1 as $ph1ent) {
|
||||
if (isset($ph1ent['disabled']))
|
||||
@ -171,7 +172,6 @@ function vpn_ipsec_configure($ipchg = false)
|
||||
$rgmap[$ph1ent['remote-gateway']] = $rg;
|
||||
|
||||
/* step through each phase2 entry */
|
||||
$ipsecpinghosts = "";
|
||||
foreach ($a_phase2 as $ph2ent) {
|
||||
|
||||
$ikeid = $ph2ent['ikeid'];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user