summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Kelley <simon@thekelleys.org.uk>2022-09-06 22:40:06 +0100
committerSimon Kelley <simon@thekelleys.org.uk>2022-09-06 22:40:06 +0100
commit4447d48bb9ad3c19234594f0a5eb81f7959cbb10 (patch)
treed44ce17be225bba9e72daae248ebc0e25a0ee63c
parent04cc2ae1a605c9b9d346d010178abf597fd0fe77 (diff)
downloaddnsmasq-4447d48bb9ad3c19234594f0a5eb81f7959cbb10.tar.gz
Add DHCPv4 option 108 "ipv6-only" to the options table.v2.87rc1
-rw-r--r--src/dhcp-common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dhcp-common.c b/src/dhcp-common.c
index ab18342..bc6d95e 100644
--- a/src/dhcp-common.c
+++ b/src/dhcp-common.c
@@ -685,6 +685,7 @@ static const struct opttab_t {
{ "client-machine-id", 97, 0 },
{ "posix-timezone", 100, OT_NAME }, /* RFC 4833, Sec. 2 */
{ "tzdb-timezone", 101, OT_NAME }, /* RFC 4833, Sec. 2 */
+ { "ipv6-only", 108, 4 | OT_DEC }, /* RFC 8925 */
{ "subnet-select", 118, OT_INTERNAL },
{ "domain-search", 119, OT_RFC1035_NAME },
{ "sip-server", 120, 0 },