Merge pull request #249386 from JTarasovic/jdt/systemd-networkd/dhcpv6config

This commit is contained in:
Ryan Lahfa 2023-09-27 18:38:16 +02:00 committed by GitHub
commit cb403e56a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -799,6 +799,8 @@ let
"UseAddress"
"UseDNS"
"UseNTP"
"UseHostname"
"UseDomains"
"RouteMetric"
"RapidCommit"
"MUDURL"
@ -813,16 +815,20 @@ let
"DUIDRawData"
"IAID"
"UseDelegatedPrefix"
"SendRelease"
])
(assertValueOneOf "UseAddress" boolValues)
(assertValueOneOf "UseDNS" boolValues)
(assertValueOneOf "UseNTP" boolValues)
(assertValueOneOf "UseHostname" boolValues)
(assertValueOneOf "UseDomains" (boolValues ++ ["route"]))
(assertInt "RouteMetric")
(assertValueOneOf "RapidCommit" boolValues)
(assertValueOneOf "WithoutRA" ["no" "solicit" "information-request"])
(assertRange "SendOption" 1 65536)
(assertInt "IAID")
(assertValueOneOf "UseDelegatedPrefix" boolValues)
(assertValueOneOf "SendRelease" boolValues)
];
sectionDHCPPrefixDelegation = checkUnitConfig "DHCPPrefixDelegation" [