Merge pull request #184822 from snpschaaf/networkd-link-add-promiscious

add Promiscuous as valid value for linkConfig
This commit is contained in:
Janne Heß 2022-08-03 11:05:32 +02:00 committed by GitHub
commit bc7ff29bdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -454,12 +454,14 @@ let
"RequiredForOnline"
"RequiredFamilyForOnline"
"ActivationPolicy"
"Promiscuous"
])
(assertMacAddress "MACAddress")
(assertByteFormat "MTUBytes")
(assertValueOneOf "ARP" boolValues)
(assertValueOneOf "Multicast" boolValues)
(assertValueOneOf "AllMulticast" boolValues)
(assertValueOneOf "Promiscuous" boolValues)
(assertValueOneOf "Unmanaged" boolValues)
(assertValueOneOf "RequiredForOnline" (boolValues ++ [
"missing"