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" "UseAddress"
"UseDNS" "UseDNS"
"UseNTP" "UseNTP"
"SendHostname"
"UseHostname" "UseHostname"
"Hostname"
"UseDomains" "UseDomains"
"RouteMetric" "RouteMetric"
"RapidCommit" "RapidCommit"
@ -936,6 +938,7 @@ let
(assertValueOneOf "UseAddress" boolValues) (assertValueOneOf "UseAddress" boolValues)
(assertValueOneOf "UseDNS" boolValues) (assertValueOneOf "UseDNS" boolValues)
(assertValueOneOf "UseNTP" boolValues) (assertValueOneOf "UseNTP" boolValues)
(assertValueOneOf "SendHostname" boolValues)
(assertValueOneOf "UseHostname" boolValues) (assertValueOneOf "UseHostname" boolValues)
(assertValueOneOf "UseDomains" (boolValues ++ ["route"])) (assertValueOneOf "UseDomains" (boolValues ++ ["route"]))
(assertInt "RouteMetric") (assertInt "RouteMetric")