Skip to content

Commit

Permalink
Merge pull request #29 from sever-sever/T3341-crux
Browse files Browse the repository at this point in the history
ipsec-op: T3341: Fix for resetting peer tunnel
  • Loading branch information
dmbaturin committed Oct 31, 2021
2 parents a9c2f95 + c273b7d commit ded9f36
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 ded9f36

Please sign in to comment.