summaryrefslogtreecommitdiff
path: root/op-mode-definitions/vpn-ipsec.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-05-04 15:24:59 +0200
committerGitHub <noreply@github.com>2023-05-04 15:24:59 +0200
commit3a35eca420c7b895323fdade0adf615c4a4eb675 (patch)
tree0755cde3bc48124917233ab4129bca2a14c3ecb7 /op-mode-definitions/vpn-ipsec.xml.in
parent6e7dfd008ae8cd41abb6c12fa58c5dd8374ccba0 (diff)
parent6d4caef050a1aefbddbdae3ad3d3928e464426f1 (diff)
downloadvyos-1x-3a35eca420c7b895323fdade0adf615c4a4eb675.tar.gz
vyos-1x-3a35eca420c7b895323fdade0adf615c4a4eb675.zip
Merge pull request #1974 from dmbaturin/T5191-option-hyphens
opmode: T5191: replace underscores with hyphens in generated options
Diffstat (limited to 'op-mode-definitions/vpn-ipsec.xml.in')
-rw-r--r--op-mode-definitions/vpn-ipsec.xml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/op-mode-definitions/vpn-ipsec.xml.in b/op-mode-definitions/vpn-ipsec.xml.in
index 1eb5a3709..c7ba780a3 100644
--- a/op-mode-definitions/vpn-ipsec.xml.in
+++ b/op-mode-definitions/vpn-ipsec.xml.in
@@ -35,7 +35,7 @@
<list>&lt;x.x.x.x&gt; &lt;h:h:h:h:h:h:h:h&gt;</list>
</completionHelp>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/ipsec.py reset_profile_dst --profile="$5" --tunnel="$7" --nbma_dst="$9"</command>
+ <command>sudo ${vyos_op_scripts_dir}/ipsec.py reset_profile_dst --profile="$5" --tunnel="$7" --nbma-dst="$9"</command>
</tagNode>
</children>
<command>sudo ${vyos_op_scripts_dir}/ipsec.py reset_profile_all --profile="$5" --tunnel="$7"</command>
@@ -219,7 +219,7 @@
<properties>
<help>Show detail active IKEv2 RA sessions by connection-id</help>
</properties>
- <command>if systemctl is-active --quiet strongswan ; then sudo ${vyos_op_scripts_dir}/ipsec.py show_ra_detail --conn_id="$6"; else echo "IPsec process not running" ; fi</command>
+ <command>if systemctl is-active --quiet strongswan ; then sudo ${vyos_op_scripts_dir}/ipsec.py show_ra_detail --conn-id="$6"; else echo "IPsec process not running" ; fi</command>
</tagNode>
<node name="summary">
<properties>