Revision e82a1d11
Added by Ermal LUÇI almost 11 years ago
etc/inc/vpn.inc | ||
---|---|---|
841 | 841 |
/* Read secrets */ |
842 | 842 |
mwexec("/usr/local/sbin/ipsec rereadall", false); |
843 | 843 |
/* Update configuration changes */ |
844 |
mwexec("/usr/local/sbin/ipsec update", false); |
|
844 | 845 |
mwexec("/usr/local/sbin/ipsec reload", false); |
845 | 846 |
} else { |
846 | 847 |
mwexec("/usr/local/sbin/ipsec start", false); |
Also available in: Unified diff
Reload also the configuration not only the secrets before trying to apply existing configuration. Ticket #3981