diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-01-22 20:41:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-22 20:41:11 +0100 |
commit | 4920143b635213b037209b786eaf5ffd7467b41a (patch) | |
tree | 62104def9ff91ed02a837d00736655d29750f996 /interface-definitions/dns-dynamic.xml.in | |
parent | 8e50ece56b2644b1562efae1b3f8e07ab8146be9 (diff) | |
parent | d86eac843bab7a760bdbda98d32b3056d9e72e02 (diff) | |
download | vyos-1x-4920143b635213b037209b786eaf5ffd7467b41a.tar.gz vyos-1x-4920143b635213b037209b786eaf5ffd7467b41a.zip |
Merge pull request #202 from zdc/T1953
dynamic DNS: T1953: Relaxed service name check
Diffstat (limited to 'interface-definitions/dns-dynamic.xml.in')
-rw-r--r-- | interface-definitions/dns-dynamic.xml.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/interface-definitions/dns-dynamic.xml.in b/interface-definitions/dns-dynamic.xml.in index 725ebadac..498fd3f2f 100644 --- a/interface-definitions/dns-dynamic.xml.in +++ b/interface-definitions/dns-dynamic.xml.in @@ -70,11 +70,11 @@ <properties> <help>Service being used for Dynamic DNS [REQUIRED]</help> <completionHelp> - <list>custom afraid changeip cloudflare dnspark dslreports dyndns easydns namecheap noip sitelutions zoneedit</list> + <list><custom> afraid changeip cloudflare dnspark dslreports dyndns easydns namecheap noip sitelutions zoneedit</list> </completionHelp> <valueHelp> - <format>custom</format> - <description>Custom or predefined service</description> + <format><custom></format> + <description>Service with a custom name</description> </valueHelp> <valueHelp> <format>afraid</format> @@ -121,9 +121,9 @@ <description>zoneedit.com Services</description> </valueHelp> <constraint> - <regex>(custom|afraid|changeip|cloudflare|dnspark|dslreports|dyndns|easydns|namecheap|noip|sitelutions|zoneedit)</regex> + <regex>^(custom|afraid|changeip|cloudflare|dnspark|dslreports|dyndns|easydns|namecheap|noip|sitelutions|zoneedit|\w+)$</regex> </constraint> - <constraintErrorMessage>Please choose from the list of allowed services</constraintErrorMessage> + <constraintErrorMessage>You can use only predefined list of services or word characters (_, a-z, A-Z, 0-9) as service name</constraintErrorMessage> </properties> <children> <leafNode name="host-name"> |