diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-02-15 08:20:14 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-02-15 08:20:14 -0200 |
commit | fa77faffbf284ce5e89b9bd36963a747adbf1fed (patch) | |
tree | b753a9dc289a1089fe089681c32e91d20e24177a /etc | |
parent | 71034b51ff8831b43cf70c6f26955e6e6bdee5ca (diff) | |
download | pfsense-fa77faffbf284ce5e89b9bd36963a747adbf1fed.zip pfsense-fa77faffbf284ce5e89b9bd36963a747adbf1fed.tar.gz |
Fix #2818. Save information about all phase1 on ipsecpinghosts instead of only the last one
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/vpn.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index c299822..5f4eff4 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -224,9 +224,9 @@ function vpn_ipsec_configure($ipchg = false) $ipsecpinghosts[] = "{$srcip}|{$dstip}|3|||||{$family}|\n"; } } - @file_put_contents("{$g['vardb_path']}/ipsecpinghosts", $ipsecpinghosts); - unset($ipsecpinghosts); } + @file_put_contents("{$g['vardb_path']}/ipsecpinghosts", $ipsecpinghosts); + unset($ipsecpinghosts); } } |