summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-10-21 15:39:43 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-10-27 17:49:43 -0500
commit28f446e3f1625ba85087f0424f72c90382341366 (patch)
tree9abed31dd0bc8bdc55ab4ff6b438ca1c78bb5548
parentd1b4f0a7aaca10dbbfcea8fd0c644db97d00a5dc (diff)
downloadvyatta-op-vpn-28f446e3f1625ba85087f0424f72c90382341366.tar.gz
vyatta-op-vpn-28f446e3f1625ba85087f0424f72c90382341366.zip
Bugfix 7574: Fix output to match command structure for restart vpn and reset vpn
(cherry picked from commit dc6d6a389a1648ebd3240691d76edf7fa523d05d)
-rwxr-xr-xscripts/vyatta-vpn-op.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyatta-vpn-op.pl b/scripts/vyatta-vpn-op.pl
index dca623a..ad20a61 100755
--- a/scripts/vyatta-vpn-op.pl
+++ b/scripts/vyatta-vpn-op.pl
@@ -32,7 +32,7 @@ sub clear_tunnel {
my $error = undef;
my $cmd = undef;
- print "Clearing tunnel $tunnel with peer $peer...\n";
+ print "Resetting tunnel $tunnel with peer $peer...\n";
# back-up ipsec.conf
`sudo cp /etc/ipsec.conf /etc/ipsec.conf.bak.\$PPID`;
@@ -62,7 +62,7 @@ if ($op eq '') {
}
if ($op eq 'clear-vpn-ipsec-process') {
- print "Clearing IPsec process...\n";
+ print "Restarting IPsec process...\n";
my $update_interval = `cli-shell-api returnActiveValue vpn ipsec auto-update`;
if ($update_interval eq ''){
system 'sudo /usr/sbin/ipsec restart >&/dev/null';