diff options
author | smos <seth.mos@dds.nl> | 2011-03-16 12:16:03 +0100 |
---|---|---|
committer | smos <seth.mos@dds.nl> | 2011-03-16 12:16:03 +0100 |
commit | ac463c006fa212ec1f784e4c29326cf47c7b02cd (patch) | |
tree | 24c590ccea00b5ddd3e7b1ecce97f6609f357211 /etc/inc/vpn.inc | |
parent | 323f3f9c17d9307ab9eb820cbd05cc7629ce80b9 (diff) | |
download | pfsense-ac463c006fa212ec1f784e4c29326cf47c7b02cd.zip pfsense-ac463c006fa212ec1f784e4c29326cf47c7b02cd.tar.gz |
Fix the IPsec ping hosts file generation. This only worked for the last
tunnel
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r-- | etc/inc/vpn.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index 6f48820..f0641b7 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -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']; |