]> 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>
Thu, 15 Apr 2021 18:30:51 +0000 (20:30 +0200)
commit3d383945903a482acc17ee0254ee03ea479fe52c
tree4f6fbe9c9d309b7346436fe7c44dd8652d4a2a54
parente7086ece14ba7e10f701af465c04c77d2b060f2a
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