diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-02-16 13:55:24 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-02-16 13:55:24 -0200 |
commit | 923e440b75eda660a5cdbd102912fe53d61d1237 (patch) | |
tree | 10dc77cd49f7a1b70c858aa73a48861dbd4d75a4 /etc/inc/vpn.inc | |
parent | 7790196644a3cc38cc2ec7d0df01f164479b43be (diff) | |
download | pfsense-923e440b75eda660a5cdbd102912fe53d61d1237.zip pfsense-923e440b75eda660a5cdbd102912fe53d61d1237.tar.gz |
Fix #2818. Last change didn't work, it needs to be one more step out of the loop.
Diffstat (limited to 'etc/inc/vpn.inc')
-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 5f4eff4..787abd4 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -225,9 +225,9 @@ function vpn_ipsec_configure($ipchg = false) } } } - @file_put_contents("{$g['vardb_path']}/ipsecpinghosts", $ipsecpinghosts); - unset($ipsecpinghosts); } + @file_put_contents("{$g['vardb_path']}/ipsecpinghosts", $ipsecpinghosts); + unset($ipsecpinghosts); } /* generate CA certificates files */ |