Skip to content

Commit

Permalink
Merge pull request #28 from sever-sever/T3341
Browse files Browse the repository at this point in the history
ipsec-op: T3341: Fix for resetting peer tunnel
  • Loading branch information
c-po committed Oct 26, 2021
2 parents 5982a08 + 1eb4d86 commit aeef9ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/vyatta-vpn-op.pl
Expand Up @@ -48,7 +48,7 @@ sub clear_tunnel {
print "Resetting tunnel $tunnel with peer $peer...\n";

# bring down the tunnel
`sudo /usr/sbin/ipsec down peer-$peer-tunnel-$tunnel`;
`sudo /usr/sbin/ipsec down peer-$peer-tunnel-$tunnel\{\*\}`;
# bring up the tunnel
`sudo /usr/sbin/ipsec up peer-$peer-tunnel-$tunnel`;
}
Expand Down

0 comments on commit aeef9ba

Please sign in to comment.