summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Kelley <simon@thekelleys.org.uk>2022-12-04 22:00:54 +0000
committerSimon Kelley <simon@thekelleys.org.uk>2022-12-04 22:00:54 +0000
commite6841ea2e00a6cd7c21b0aebce56e82932f0959d (patch)
tree3447acefb491d3c2bc7987993976696c9a5fff04
parente939b45c9facb1b2dad688de1ce14457247615e9 (diff)
downloaddnsmasq-e6841ea2e00a6cd7c21b0aebce56e82932f0959d.tar.gz
Add posix-timezone and tzdb-timezone DHCPv6 options.v2.88
They are already in place for DHCPv4.
-rw-r--r--src/dhcp-common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dhcp-common.c b/src/dhcp-common.c
index bc6d95e..84081ce 100644
--- 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 },