Merge pull request #72888 from fooker/pr-3

nixos/networkd: Add more valid values for RequiredForOnline
This commit is contained in:
Maximilian Bosch 2019-12-06 18:04:34 +01:00 committed by GitHub
commit 4324419f9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -276,7 +276,7 @@ let
(assertValueOneOf "ARP" boolValues)
(assertValueOneOf "Multicast" boolValues)
(assertValueOneOf "Unmanaged" boolValues)
(assertValueOneOf "RequiredForOnline" boolValues)
(assertValueOneOf "RequiredForOnline" (boolValues ++ ["off" "no-carrier" "dormant" "degraded-carrier" "carrier" "degraded" "enslaved" "routable"]))
];