mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-06 04:24:28 +03:00
Merge pull request #27142 from florianjacob/resolved-multicastdns-support
networkd: Allow new MulticastDNS setting
This commit is contained in:
commit
b14bcd873a
@ -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…
Reference in New Issue
Block a user