Add DHCPv4 option 108 "ipv6-only" to the options table. v2.87rc1
authorSimon Kelley <simon@thekelleys.org.uk>
Tue, 6 Sep 2022 21:40:06 +0000 (22:40 +0100)
committerSimon Kelley <simon@thekelleys.org.uk>
Tue, 6 Sep 2022 21:40:06 +0000 (22:40 +0100)
src/dhcp-common.c

index ab18342..bc6d95e 100644 (file)
@@ -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 },