From d86eac843bab7a760bdbda98d32b3056d9e72e02 Mon Sep 17 00:00:00 2001 From: zsdc Date: Thu, 9 Jan 2020 18:09:54 +0200 Subject: dynamic DNS: T1953: Relaxed service name check Internally, we can accept more than one server of each type for sending dynamic DNS updates, but due to a strong check in CLI, it is not possible to add more than one server with the same protocol (except "custom", but it allows to add only one more server). The patch relaxing this limitation by allowing adding as many servers with the same protocol, as needed. --- interface-definitions/dns-dynamic.xml.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'interface-definitions') 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 @@ Service being used for Dynamic DNS [REQUIRED] - custom afraid changeip cloudflare dnspark dslreports dyndns easydns namecheap noip sitelutions zoneedit + <custom> afraid changeip cloudflare dnspark dslreports dyndns easydns namecheap noip sitelutions zoneedit - custom - Custom or predefined service + <custom> + Service with a custom name afraid @@ -121,9 +121,9 @@ zoneedit.com Services - (custom|afraid|changeip|cloudflare|dnspark|dslreports|dyndns|easydns|namecheap|noip|sitelutions|zoneedit) + ^(custom|afraid|changeip|cloudflare|dnspark|dslreports|dyndns|easydns|namecheap|noip|sitelutions|zoneedit|\w+)$ - Please choose from the list of allowed services + You can use only predefined list of services or word characters (_, a-z, A-Z, 0-9) as service name -- cgit v1.2.3