Merge pull request #27142 from florianjacob/resolved-multicastdns-support

networkd: Allow new MulticastDNS setting
This commit is contained in:
Jörg Thalheim 2017-07-13 14:35:23 +01:00 committed by GitHub
commit b14bcd873a

View File

@ -94,7 +94,7 @@ let
checkNetwork = checkUnitConfig "Network" [
(assertOnlyFields [
"Description" "DHCP" "DHCPServer" "IPForward" "IPMasquerade" "IPv4LL" "IPv4LLRoute"
"LLMNR" "Domains" "Bridge" "Bond"
"LLMNR" "MulticastDNS" "Domains" "Bridge" "Bond"
])
(assertValueOneOf "DHCP" ["both" "none" "v4" "v6"])
(assertValueOneOf "DHCPServer" boolValues)
@ -103,6 +103,7 @@ let
(assertValueOneOf "IPv4LL" boolValues)
(assertValueOneOf "IPv4LLRoute" boolValues)
(assertValueOneOf "LLMNR" boolValues)
(assertValueOneOf "MulticastDNS" boolValues)
];
checkAddress = checkUnitConfig "Address" [