Merge pull request #102096 from flokli/networkd-dhcpv6-route-metric

nixos/networkd: allow RouteMetric= in [DHCPv6] section
This commit is contained in:
Martin Weinelt 2020-10-29 21:09:46 +01:00 committed by GitHub
commit a9df495cc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -648,11 +648,13 @@ let
"RapidCommit" "RapidCommit"
"ForceDHCPv6PDOtherInformation" "ForceDHCPv6PDOtherInformation"
"PrefixDelegationHint" "PrefixDelegationHint"
"RouteMetric"
]) ])
(assertValueOneOf "UseDNS" boolValues) (assertValueOneOf "UseDNS" boolValues)
(assertValueOneOf "UseNTP" boolValues) (assertValueOneOf "UseNTP" boolValues)
(assertValueOneOf "RapidCommit" boolValues) (assertValueOneOf "RapidCommit" boolValues)
(assertValueOneOf "ForceDHCPv6PDOtherInformation" boolValues) (assertValueOneOf "ForceDHCPv6PDOtherInformation" boolValues)
(assertInt "RouteMetric")
]; ];
sectionDHCPServer = checkUnitConfig "DHCPServer" [ sectionDHCPServer = checkUnitConfig "DHCPServer" [