]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/resolve/resolved-link.c
resolved: allocate DNS scope for links only if the interface is up
authorLennart Poettering <lennart@poettering.net>
Tue, 19 Jan 2016 16:13:27 +0000 (17:13 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 19 Jan 2016 17:37:45 +0000 (18:37 +0100)
commitdfc1091b2f5f21f69e0aa6d3c4536b8990d4b100
tree889e29de61556c46edfef868803eb1a7bcf80cfe
parent5b91184300f3db4971cafe4e33aaa14ac1d78a35
resolved: allocate DNS scope for links only if the interface is up

For mDNS and LLMNR we already created the scopes only if the specific interfaces where actually up and suitable for
Multicasting. Add a similar (but weaker) logic for unicast DNS as well.
src/resolve/resolved-link.c
src/resolve/resolved-link.h