networkd: Allow new MulticastDNS setting
which gained an implementation in systemd v233
This commit is contained in:
parent
a5a98f98a0
commit
cd8a1a7ceb
@ -94,7 +94,7 @@ let
|
|||||||
checkNetwork = checkUnitConfig "Network" [
|
checkNetwork = checkUnitConfig "Network" [
|
||||||
(assertOnlyFields [
|
(assertOnlyFields [
|
||||||
"Description" "DHCP" "DHCPServer" "IPForward" "IPMasquerade" "IPv4LL" "IPv4LLRoute"
|
"Description" "DHCP" "DHCPServer" "IPForward" "IPMasquerade" "IPv4LL" "IPv4LLRoute"
|
||||||
"LLMNR" "Domains" "Bridge" "Bond"
|
"LLMNR" "MulticastDNS" "Domains" "Bridge" "Bond"
|
||||||
])
|
])
|
||||||
(assertValueOneOf "DHCP" ["both" "none" "v4" "v6"])
|
(assertValueOneOf "DHCP" ["both" "none" "v4" "v6"])
|
||||||
(assertValueOneOf "DHCPServer" boolValues)
|
(assertValueOneOf "DHCPServer" boolValues)
|
||||||
@ -103,6 +103,7 @@ let
|
|||||||
(assertValueOneOf "IPv4LL" boolValues)
|
(assertValueOneOf "IPv4LL" boolValues)
|
||||||
(assertValueOneOf "IPv4LLRoute" boolValues)
|
(assertValueOneOf "IPv4LLRoute" boolValues)
|
||||||
(assertValueOneOf "LLMNR" boolValues)
|
(assertValueOneOf "LLMNR" boolValues)
|
||||||
|
(assertValueOneOf "MulticastDNS" boolValues)
|
||||||
];
|
];
|
||||||
|
|
||||||
checkAddress = checkUnitConfig "Address" [
|
checkAddress = checkUnitConfig "Address" [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user