summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-07-25 15:27:02 +0200
committerGitHub <noreply@github.com>2022-07-25 15:27:02 +0200
commitc8ffb9a03c70f2d3762b5606f74715579c0265f4 (patch)
tree115b8d844af53bd54ef23a198010e2243cf66abe /op-mode-definitions
parentfd4bda3c791a6f4506d0e6e1283b1560f9ec3a41 (diff)
parent179380776360cecb049d74263474148e13864f92 (diff)
downloadvyos-1x-c8ffb9a03c70f2d3762b5606f74715579c0265f4.tar.gz
vyos-1x-c8ffb9a03c70f2d3762b5606f74715579c0265f4.zip
Merge pull request #1428 from sever-sever/T4552
IPsec: T4552: Fix reset vpn ipsec peer
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/vpn-ipsec.xml.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/op-mode-definitions/vpn-ipsec.xml.in b/op-mode-definitions/vpn-ipsec.xml.in
index 3d997c143..f1f43755b 100644
--- a/op-mode-definitions/vpn-ipsec.xml.in
+++ b/op-mode-definitions/vpn-ipsec.xml.in
@@ -19,16 +19,16 @@
<properties>
<help>Reset a specific tunnel for given peer</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/vpn_ipsec.py --action="reset-peer" --name="$4" --tunnel="$6"</command>
+ <command>sudo ${vyos_op_scripts_dir}/ipsec.py reset_peer --peer="$4" --tunnel="$6"</command>
</tagNode>
<node name="vti">
<properties>
<help>Reset the VTI tunnel for given peer</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/vpn_ipsec.py --action="reset-peer" --name="$4" --tunnel="vti"</command>
+ <command>sudo ${vyos_op_scripts_dir}/ipsec.py reset_peer --peer="$4" --tunnel="vti"</command>
</node>
</children>
- <command>sudo ${vyos_op_scripts_dir}/vpn_ipsec.py --action="reset-peer" --name="$4" --tunnel="all"</command>
+ <command>sudo ${vyos_op_scripts_dir}/ipsec.py reset_peer --peer="$4" --tunnel="all"</command>
</tagNode>
<tagNode name="ipsec-profile">
<properties>