diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-12-27 13:00:13 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-12-27 13:00:13 +0100 |
commit | 19161b72ea9d06327e75360e121753b5f9a754c8 (patch) | |
tree | 8e865ec47364b21af84691d4ddb1b886ad06d1bd /interface-definitions/vpn_l2tp.xml.in | |
parent | b32385f9acef1630771838a4e0baa9d0c40dd98e (diff) | |
download | vyos-1x-19161b72ea9d06327e75360e121753b5f9a754c8.tar.gz vyos-1x-19161b72ea9d06327e75360e121753b5f9a754c8.zip |
xml: fix valueHelp format strings
A pre-defined list of common format strings to be used inside the <format> node
of <valueHelp> is available from [1]. Adjust all currently in use <format> nodes
to re-use the predefined strings over writing them on their own by even
encapsulating the <> signs as < and >.
[1]: https://github.com/vyos/vyatta-cfg/blob/5aec1a0429f2f/etc/bash_completion.d/vyatta-cfg#L515-L566
Diffstat (limited to 'interface-definitions/vpn_l2tp.xml.in')
-rw-r--r-- | interface-definitions/vpn_l2tp.xml.in | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/interface-definitions/vpn_l2tp.xml.in b/interface-definitions/vpn_l2tp.xml.in index 82af86470..5b31235b1 100644 --- a/interface-definitions/vpn_l2tp.xml.in +++ b/interface-definitions/vpn_l2tp.xml.in @@ -84,7 +84,7 @@ <properties> <help>File containing the X.509 certificate for the Certificate Authority (CA)</help> <valueHelp> - <format><text></format> + <format>txt</format> <description>File in /config/auth</description> </valueHelp> </properties> @@ -93,7 +93,7 @@ <properties> <help>File containing the X.509 Certificate Revocation List (CRL)</help> <valueHelp> - <format><text></format> + <format>txt</format> <description>File in /config/auth</description> </valueHelp> </properties> @@ -102,7 +102,7 @@ <properties> <help>File containing the X.509 certificate for the remote access VPN server (this host)</help> <valueHelp> - <format><text></format> + <format>txt</format> <description>File in /config/auth</description> </valueHelp> </properties> @@ -111,7 +111,7 @@ <properties> <help>File containing the private key for the X.509 certificate for the remote access VPN server (this host)</help> <valueHelp> - <format><text></format> + <format>txt</format> <description>File in /config/auth</description> </valueHelp> </properties> @@ -129,7 +129,7 @@ <properties> <help>IKE lifetime</help> <valueHelp> - <format><30-86400></format> + <format>u32:30-86400</format> <description>IKE lifetime in seconds (default 3600)</description> </valueHelp> <constraint> @@ -141,7 +141,7 @@ <properties> <help>ESP lifetime</help> <valueHelp> - <format><30-86400></format> + <format>u32:30-86400</format> <description>IKE lifetime in seconds (default 3600)</description> </valueHelp> <constraint> @@ -176,7 +176,7 @@ <properties> <help>PPP idle timeout</help> <valueHelp> - <format><30-86400></format> + <format>u32:30-86400</format> <description>PPP idle timeout in seconds (default 1800)</description> </valueHelp> <constraint> |