summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-manager.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2017-03-21 13:34:52 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2017-03-21 13:34:52 +0900
commit71a047d2f7ca37bb8e20e94622e94240f8812649 (patch)
tree2d2e112d74092107d67f8da8dceb3dff67859e1f /src/resolve/resolved-manager.c
parentc6a8f6f66da111a417cef7be81ceb9a8f336e541 (diff)
resolved: detect and warn other running mDNS stack
Previously, `SO_REUSEADDR` is set before `bind`-ing socket, Thus, even if another mDNS stack (e.g. avahi) is running, `bind` always success and we cannot detect the other stack. By this commit, we first try to `bind` without `SO_REUSEADDR`, and if it fails, show warning and retry with `SO_REUSEADDR`.
Diffstat (limited to 'src/resolve/resolved-manager.c')
0 files changed, 0 insertions, 0 deletions