summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Grooms <mgrooms@pfsense.org>2008-09-02 21:27:05 +0000
committerMatthew Grooms <mgrooms@pfsense.org>2008-09-02 21:27:05 +0000
commitddee43a519e45420f035c4c6b1a46f64421ee498 (patch)
treef85d3d97cf7c74ddb1ac767642a7804594869a90
parentbb345bba5f2f751440a0d3c4ad6e474791026426 (diff)
downloadpfsense-ddee43a519e45420f035c4c6b1a46f64421ee498.zip
pfsense-ddee43a519e45420f035c4c6b1a46f64421ee498.tar.gz
Now that we are delaying the creation of OpenVPN dh parameters, it appears
we need an explicit call to write_config() to ensure the data is saved.
-rw-r--r--etc/inc/openvpn.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc
index adccc4f..151b1ec 100644
--- a/etc/inc/openvpn.inc
+++ b/etc/inc/openvpn.inc
@@ -532,6 +532,7 @@ function openvpn_resync_all() {
$dh_parameters = openvpn_create_dhparams();
$dh_parameters = base64_encode($dh_parameters);
$config['openvpn']['dh-parameters'] = $dh_parameters;
+ write_config();
}
$path_ovdh = $g['varetc_path']."/openvpn/dh-parameters";
OpenPOWER on IntegriCloud