]> git.meshlink.io Git - meshlink/commit
Improved mDNS compliance.
authorGuus Sliepen <guus@meshlink.io>
Tue, 18 Aug 2020 22:35:31 +0000 (00:35 +0200)
committerGuus Sliepen <guus@meshlink.io>
Tue, 26 Jan 2021 20:43:45 +0000 (21:43 +0100)
commit2581d11ae296bf908f0a3754135a16187400232d
tree5fbffbabbdb33723e75d6382f00f15ef874c1b20
parent71b79718a7a54ae50b31d2a98584239d74c35381
Improved mDNS compliance.

Split the mDNS packets into separate request and response packets, and only
send responses when we receive a valid request.

It's now possible to find local MeshLink nodes using tools like dns-sd and
avahi-browse, if told to explicitly search for the _appname._tcp service.
src/discovery.c
src/mdns.c
src/mdns.h