From e82a1d11d61b084de944da29c310719ae42dcc34 Mon Sep 17 00:00:00 2001 From: Ermal Date: Fri, 7 Nov 2014 14:14:50 +0100 Subject: [PATCH] Reload also the configuration not only the secrets before trying to apply existing configuration. Ticket #3981 --- etc/inc/vpn.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index 6f8c7625f..3cb6deb9c 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);