projects
/
dnsmasq.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e939b45
)
Add posix-timezone and tzdb-timezone DHCPv6 options.
v2.88
author
Simon Kelley
<simon@thekelleys.org.uk>
Sun, 4 Dec 2022 22:00:54 +0000
(22:00 +0000)
committer
Simon Kelley
<simon@thekelleys.org.uk>
Sun, 4 Dec 2022 22:00:54 +0000
(22:00 +0000)
They are already in place for DHCPv4.
src/dhcp-common.c
patch
|
blob
|
history
diff --git
a/src/dhcp-common.c
b/src/dhcp-common.c
index
bc6d95e
..
84081ce
100644
(file)
--- a/
src/dhcp-common.c
+++ b/
src/dhcp-common.c
@@
-722,6
+722,8
@@
static const struct opttab_t opttab6[] = {
{ "sntp-server", 31, OT_ADDR_LIST },
{ "information-refresh-time", 32, OT_TIME },
{ "FQDN", 39, OT_INTERNAL | OT_RFC1035_NAME },
+ { "posix-timezone", 41, OT_NAME }, /* RFC 4833, Sec. 3 */
+ { "tzdb-timezone", 42, OT_NAME }, /* RFC 4833, Sec. 3 */
{ "ntp-server", 56, 0 /* OT_ADDR_LIST | OT_RFC1035_NAME */ },
{ "bootfile-url", 59, OT_NAME },
{ "bootfile-param", 60, OT_CSTRING },