-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[minimal mDNS] Fix sending mDNS goodbye packets (#23661)
* [minimal mDNS] Fix sending mDNS goodbye packets mDNS clients such as avahi would keep stale commissionable node services in their caches because minimal mDNS did not send "Goodbye" packets properly on service removal. That is, it attempted to send records with TTL=0 in Advertise() methods, called after RemoveServices() which clears all allocated responders. It could be reproduce by opening and closing the commissioning window on the device because each open operation regenerates commissionable node service instance name. Signed-off-by: Damian Krolik <[email protected]> * Code review Signed-off-by: Damian Krolik <[email protected]>
- Loading branch information
1 parent
d7882cb
commit 3762675
Showing
1 changed file
with
15 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters