diff options
author | Matthew Grooms <mgrooms@pfsense.org> | 2008-09-02 21:27:05 +0000 |
---|---|---|
committer | Matthew Grooms <mgrooms@pfsense.org> | 2008-09-02 21:27:05 +0000 |
commit | ddee43a519e45420f035c4c6b1a46f64421ee498 (patch) | |
tree | f85d3d97cf7c74ddb1ac767642a7804594869a90 | |
parent | bb345bba5f2f751440a0d3c4ad6e474791026426 (diff) | |
download | pfsense-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.inc | 1 |
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"; |