]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolved: do not start LLMNR or mDNS stack when no network enables them
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 16 Mar 2017 06:52:34 +0000 (15:52 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 21 Mar 2017 04:14:04 +0000 (13:14 +0900)
commitc6a8f6f66da111a417cef7be81ceb9a8f336e541
tree1357ce885c935844047832b15b74d3dab03f1f66
parent03bf096ba283bfcba0725375f152a823e998cdbc
resolved: do not start LLMNR or mDNS stack when no network enables them

When no network enables LLMNR or mDNS, it is not necessary to create
LLMNR or mDNS related sockets. So, let's create them only when
LLMNR- or mDNS-enabled network becomes active or at least one network
enables `LLMNR=` or `MulticastDNS=` options.
src/resolve/resolved-link.c
src/resolve/resolved-manager.c