summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2023-10-05 13:47:38 +0200
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2023-12-08 00:29:40 +0100
commit2787e7915c1225f05f1e07c62f7c4d1ac9dca5ac (patch)
tree9f0724328d94ef3b2a938e203c44fb82f2c81a63 /interface-definitions
parent4484a7398482caffdd5e0a74f73f46b162785bf3 (diff)
downloadvyos-1x-2787e7915c1225f05f1e07c62f7c4d1ac9dca5ac.tar.gz
vyos-1x-2787e7915c1225f05f1e07c62f7c4d1ac9dca5ac.zip
dhcp: T3316: Add time-zone node for options 100 and 101
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/dhcp-server.xml.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/interface-definitions/dhcp-server.xml.in b/interface-definitions/dhcp-server.xml.in
index 0fa06c534..081f7ed42 100644
--- a/interface-definitions/dhcp-server.xml.in
+++ b/interface-definitions/dhcp-server.xml.in
@@ -400,6 +400,17 @@
<multi/>
</properties>
</leafNode>
+ <leafNode name="time-zone">
+ <properties>
+ <help>Time zone to send to clients. Uses RFC4833 options 100 and 101</help>
+ <completionHelp>
+ <script>timedatectl list-timezones</script>
+ </completionHelp>
+ <constraint>
+ <validator name="timezone" argument="--validate"/>
+ </constraint>
+ </properties>
+ </leafNode>
<node name="vendor-option">
<properties>
<help>Vendor Specific Options</help>