summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-link.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2017-03-21 13:30:48 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2017-03-21 13:35:12 +0900
commit007ef0a224e01d9c6e3499da2bba14a2988a8a9d (patch)
tree7ddb91c1e1d86c4f17120c75eecd6748b7920b07 /src/resolve/resolved-link.c
parent77525fdc8d60bff55b60b9e443401187204ddfe7 (diff)
resolved: detect and warn other running LLMNR stack
Previously, `SO_REUSEADDR` is set before `bind`-ing socket, Thus, even if another LLMNR stack 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-link.c')
0 files changed, 0 insertions, 0 deletions