summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJeff Leung <jleung@v10networks.ca>2015-02-06 04:58:00 +0000
committerJeff Leung <jleung@v10networks.ca>2015-02-06 04:58:00 +0000
commit91f54b8d8ca8565371006beb38e978c726192188 (patch)
tree7e6602b03e832ed186eb8af07f78f67c75102205 /scripts
parentcb76ae8fbdffa0c8dee28b95867776955806f025 (diff)
downloadvyatta-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-xscripts/vpn-config.pl2
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)) {