diff options
author | Christian Breunig <christian@breunig.cc> | 2023-09-28 18:22:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-28 18:22:19 +0200 |
commit | 34772d635fa5a44db8c944b6f0a84f184a704f1d (patch) | |
tree | d37d1297c5110cca0374e3b25beb6174b806b93f /interface-definitions | |
parent | 852e9c3328e61f5d0b92a9efca376aec94533f2b (diff) | |
parent | 3a3123485f2ea7b253caa1c49f19c82a0eaa0b37 (diff) | |
download | vyos-1x-34772d635fa5a44db8c944b6f0a84f184a704f1d.tar.gz vyos-1x-34772d635fa5a44db8c944b6f0a84f184a704f1d.zip |
Merge pull request #2307 from indrajitr/mdns-ipversions
mdns: T5615: Allow controlling IP version to use for mDNS repeater
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/service-mdns-repeater.xml.in | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/interface-definitions/service-mdns-repeater.xml.in b/interface-definitions/service-mdns-repeater.xml.in index 653dbbbe4..67870946c 100644 --- a/interface-definitions/service-mdns-repeater.xml.in +++ b/interface-definitions/service-mdns-repeater.xml.in @@ -15,6 +15,31 @@ <children> #include <include/generic-disable-node.xml.i> #include <include/generic-interface-multi.xml.i> + <leafNode name="ip-version"> + <properties> + <help>IP address version to use</help> + <valueHelp> + <format>_ipv4</format> + <description>Use only IPv4 address</description> + </valueHelp> + <valueHelp> + <format>_ipv6</format> + <description>Use only IPv6 address</description> + </valueHelp> + <valueHelp> + <format>both</format> + <description>Use both IPv4 and IPv6 address</description> + </valueHelp> + <completionHelp> + <list>ipv4 ipv6 both</list> + </completionHelp> + <constraint> + <regex>(ipv[46]|both)</regex> + </constraint> + <constraintErrorMessage>IP Version must be literal 'ipv4', 'ipv6' or 'both'</constraintErrorMessage> + </properties> + <defaultValue>both</defaultValue> + </leafNode> <leafNode name="browse-domain"> <properties> <help>mDNS browsing domains in addition to the default one</help> |