From 923e440b75eda660a5cdbd102912fe53d61d1237 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Sat, 16 Feb 2013 13:55:24 -0200 Subject: Fix #2818. Last change didn't work, it needs to be one more step out of the loop. --- etc/inc/vpn.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/inc') 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 */ -- cgit v1.1