networkd: add missing option SendHostname and Hostname for dhcpV6Config (#348306)

This commit is contained in:
Christian Kögler 2024-11-01 21:49:04 +01:00 committed by GitHub
commit 209e69f969
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -915,7 +915,9 @@ let
"UseAddress"
"UseDNS"
"UseNTP"
"SendHostname"
"UseHostname"
"Hostname"
"UseDomains"
"RouteMetric"
"RapidCommit"
@ -936,6 +938,7 @@ let
(assertValueOneOf "UseAddress" boolValues)
(assertValueOneOf "UseDNS" boolValues)
(assertValueOneOf "UseNTP" boolValues)
(assertValueOneOf "SendHostname" boolValues)
(assertValueOneOf "UseHostname" boolValues)
(assertValueOneOf "UseDomains" (boolValues ++ ["route"]))
(assertInt "RouteMetric")