nixos/networkd: add DHCPv4 - IPv6OnlyMode toggle (#343605)

This commit is contained in:
h7x4
2024-10-01 01:33:24 +02:00
committed by GitHub
+2
View File
@@ -855,6 +855,7 @@ let
"UseGateway"
"UseRoutes"
"UseTimezone"
"IPv6OnlyMode"
"ClientIdentifier"
"VendorClassIdentifier"
"UserClass"
@@ -888,6 +889,7 @@ let
(assertValueOneOf "UseGateway" boolValues)
(assertValueOneOf "UseRoutes" boolValues)
(assertValueOneOf "UseTimezone" boolValues)
(assertValueOneOf "IPv6OnlyMode" boolValues)
(assertValueOneOf "ClientIdentifier" ["mac" "duid" "duid-only"])
(assertInt "IAID")
(assertValueOneOf "RequestBroadcast" boolValues)