summaryrefslogtreecommitdiffstats
path: root/etc/inc/vpn.inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-02-16 13:55:24 -0200
committerRenato Botelho <garga@FreeBSD.org>2013-02-16 13:55:24 -0200
commit923e440b75eda660a5cdbd102912fe53d61d1237 (patch)
tree10dc77cd49f7a1b70c858aa73a48861dbd4d75a4 /etc/inc/vpn.inc
parent7790196644a3cc38cc2ec7d0df01f164479b43be (diff)
downloadpfsense-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.inc4
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 */
OpenPOWER on IntegriCloud