mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
nixos/networkd: add DHCPv4 - IPv6OnlyMode toggle (#343605)
This commit is contained in:
commit
0d67767718
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user