diff options
author | Renato Botelho <garga@FreeBSD.org> | 2015-06-23 14:15:42 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-06-23 14:15:42 -0300 |
commit | 9edeadc5937c67a5b432c32f95709cc1f3451ffd (patch) | |
tree | 2ce8f8fe4034ce229410b57194e78159b54345fd /etc | |
parent | dbd43cc24d6c18f6bf279c4e52a7a01d2bdfb8c5 (diff) | |
download | pfsense-9edeadc5937c67a5b432c32f95709cc1f3451ffd.zip pfsense-9edeadc5937c67a5b432c32f95709cc1f3451ffd.tar.gz |
Replace ipsec rereadsecrets + reload by single rereadall, that will re-read also cert changes. Ticket #4785
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/vpn.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index 6c18bc4..0f301a3 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -1247,8 +1247,7 @@ EOD; if (isvalidpid("{$g['varrun_path']}/starter.charon.pid")) { /* Update configuration changes */ /* Read secrets */ - mwexec("/usr/local/sbin/ipsec rereadsecrets", false); - mwexec("/usr/local/sbin/ipsec reload", false); + mwexec("/usr/local/sbin/ipsec rereadall", false); } else { mwexec("/usr/local/sbin/ipsec start", false); } |