diff options
author | Daniil Baturin <daniil@baturin.org> | 2023-04-28 17:57:29 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2023-05-04 01:45:53 +0100 |
commit | 6d4caef050a1aefbddbdae3ad3d3928e464426f1 (patch) | |
tree | 0755cde3bc48124917233ab4129bca2a14c3ecb7 /op-mode-definitions/vpn-ipsec.xml.in | |
parent | 6e7dfd008ae8cd41abb6c12fa58c5dd8374ccba0 (diff) | |
download | vyos-1x-6d4caef050a1aefbddbdae3ad3d3928e464426f1.tar.gz vyos-1x-6d4caef050a1aefbddbdae3ad3d3928e464426f1.zip |
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> |