diff options
author | Christian Breunig <christian@breunig.cc> | 2023-05-04 15:24:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-04 15:24:59 +0200 |
commit | 3a35eca420c7b895323fdade0adf615c4a4eb675 (patch) | |
tree | 0755cde3bc48124917233ab4129bca2a14c3ecb7 /op-mode-definitions/vpn-ipsec.xml.in | |
parent | 6e7dfd008ae8cd41abb6c12fa58c5dd8374ccba0 (diff) | |
parent | 6d4caef050a1aefbddbdae3ad3d3928e464426f1 (diff) | |
download | vyos-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.in | 4 |
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><x.x.x.x> <h:h:h:h:h:h:h:h></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> |