summaryrefslogtreecommitdiff
path: root/interface-definitions/service-mdns-repeater.xml.in
diff options
context:
space:
mode:
authorIndrajit Raychaudhuri <irc@indrajit.com>2023-05-18 02:54:29 -0500
committerIndrajit Raychaudhuri <irc@indrajit.com>2023-05-18 02:54:32 -0500
commit6f35d234e9d06cc39e464398d2bdcee9142f03f2 (patch)
tree7c04fe4b93db4f35ed42544874ff8e3a493c6021 /interface-definitions/service-mdns-repeater.xml.in
parent23118d7b4e1c52a38154ef109b974bde3b2737a2 (diff)
downloadvyos-1x-6f35d234e9d06cc39e464398d2bdcee9142f03f2.tar.gz
vyos-1x-6f35d234e9d06cc39e464398d2bdcee9142f03f2.zip
mdns: T5227: Relax 'allow-service' pattern
Relax allow service pattern to allow for '.' as well for SRV records.
Diffstat (limited to 'interface-definitions/service-mdns-repeater.xml.in')
-rw-r--r--interface-definitions/service-mdns-repeater.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/service-mdns-repeater.xml.in b/interface-definitions/service-mdns-repeater.xml.in
index 2cd92dbf2..4aab9a558 100644
--- a/interface-definitions/service-mdns-repeater.xml.in
+++ b/interface-definitions/service-mdns-repeater.xml.in
@@ -36,7 +36,7 @@
<description>mDNS service</description>
</valueHelp>
<constraint>
- #include <include/constraint/alpha-numeric-hyphen-underscore.xml.i>
+ <regex>[-_.a-zA-Z0-9]+</regex>
</constraint>
<multi/>
</properties>