summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-01-15 19:53:58 +0100
committerGitHub <noreply@github.com>2023-01-15 19:53:58 +0100
commit598dcad7237d49861ca6216deea254b7c942241f (patch)
tree5133e57907702aa5f214ca80a1be6048aaa2b591 /interface-definitions
parent80a0cee308c33d8cdc64014eb47558f48cc90f23 (diff)
parent407d469be919f1841fb3bac49947c758c4a24b67 (diff)
downloadvyos-1x-598dcad7237d49861ca6216deea254b7c942241f.tar.gz
vyos-1x-598dcad7237d49861ca6216deea254b7c942241f.zip
Merge pull request #1670 from vfreex/dhcp-v6-only-option-1.3
[1.3] T4832: dhcp: Add dhcp option to signal IPv6-only support (RFC 8925)
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/dhcp-server.xml.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/interface-definitions/dhcp-server.xml.in b/interface-definitions/dhcp-server.xml.in
index 8c10ccf99..c1f2fe2fd 100644
--- a/interface-definitions/dhcp-server.xml.in
+++ b/interface-definitions/dhcp-server.xml.in
@@ -357,6 +357,19 @@
</leafNode>
</children>
</tagNode >
+ <leafNode name="ipv6-only-preferred">
+ <properties>
+ <help>Disable IPv4 on IPv6 only hosts (RFC 8925)</help>
+ <valueHelp>
+ <format>u32</format>
+ <description>Seconds</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 0-4294967295"/>
+ </constraint>
+ <constraintErrorMessage>Seconds must be between 0 and 4294967295 (49 days)</constraintErrorMessage>
+ </properties>
+ </leafNode>
<leafNode name="subnet-parameters">
<properties>
<help>Additional subnet parameters for DHCP server. You must