diff options
author | Jeff Leung <jleung@v10networks.ca> | 2015-02-06 04:58:00 +0000 |
---|---|---|
committer | Jeff Leung <jleung@v10networks.ca> | 2015-02-06 04:58:00 +0000 |
commit | 91f54b8d8ca8565371006beb38e978c726192188 (patch) | |
tree | 7e6602b03e832ed186eb8af07f78f67c75102205 /scripts | |
parent | cb76ae8fbdffa0c8dee28b95867776955806f025 (diff) | |
download | vyatta-cfg-vpn-91f54b8d8ca8565371006beb38e978c726192188.tar.gz vyatta-cfg-vpn-91f54b8d8ca8565371006beb38e978c726192188.zip |
Use ipsec reload instead of update
For some odd reason doing an ipsec update does not make charon
pick up any newly created tunnels. However doing an ipsec reload
updates all newly created tunnels correctly.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vpn-config.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vpn-config.pl b/scripts/vpn-config.pl index 89af400..c0c2084 100755 --- a/scripts/vpn-config.pl +++ b/scripts/vpn-config.pl @@ -1239,7 +1239,7 @@ if ( $vcVPN->isDeleted('.') vpn_exec('ipsec restart >&/dev/null', 're-starting ipsec'); }else { vpn_exec('ipsec rereadall >&/dev/null', 're-read secrets and certs'); - vpn_exec('ipsec update >&/dev/null', 'update changes to ipsec.conf'); + vpn_exec('ipsec reload >&/dev/null', 'reload changes to ipsec.conf'); } } else { if (!defined($update_interval)) { |