summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-12-17 11:34:47 +0100
committerGitHub <noreply@github.com>2022-12-17 11:34:47 +0100
commit526357566f2a9cab5a2fc45c4af53cfa88b2666b (patch)
treef23c5d5252f476710ff779a058b5ffa5b956a375 /interface-definitions
parent588aa7398ab4ebe0162c5fcef94bf4b90c2cee0b (diff)
parentcca7ec3efbf66a9ca6005352133528c4286c2be9 (diff)
downloadvyos-1x-526357566f2a9cab5a2fc45c4af53cfa88b2666b.tar.gz
vyos-1x-526357566f2a9cab5a2fc45c4af53cfa88b2666b.zip
Merge pull request #1669 from vfreex/dhcp-v6-only-option-1.4
T4832: dhcp: Add IPv6-only dhcp option 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 6e1592200..1830cc1ad 100644
--- a/interface-definitions/dhcp-server.xml.in
+++ b/interface-definitions/dhcp-server.xml.in
@@ -373,6 +373,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 use the syntax of dhcpd.conf in this text-field. Using this without proper knowledge may result in a crashed DHCP server. Check system log to look for errors.</help>