summaryrefslogtreecommitdiffstats
path: root/etc/inc/vpn.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-11-07 14:14:50 +0100
committerErmal <eri@pfsense.org>2014-11-07 14:14:50 +0100
commite82a1d11d61b084de944da29c310719ae42dcc34 (patch)
treea67a6c43ed7e93fd1bcf3468673dface60191325 /etc/inc/vpn.inc
parenta8380480884a8e95ef980885d73cde3986aac544 (diff)
downloadpfsense-e82a1d11d61b084de944da29c310719ae42dcc34.zip
pfsense-e82a1d11d61b084de944da29c310719ae42dcc34.tar.gz
Reload also the configuration not only the secrets before trying to apply existing configuration. Ticket #3981
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r--etc/inc/vpn.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 6f8c762..3cb6deb 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -841,6 +841,7 @@ EOD;
/* Read secrets */
mwexec("/usr/local/sbin/ipsec rereadall", false);
/* Update configuration changes */
+ mwexec("/usr/local/sbin/ipsec update", false);
mwexec("/usr/local/sbin/ipsec reload", false);
} else {
mwexec("/usr/local/sbin/ipsec start", false);
OpenPOWER on IntegriCloud