forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Darwin dns-sd handling of results on interface index 0. (project-…
…chip#32872) project-chip#32513 introduced a bug, in that we would ignore all results associated with interface index 0. But that's perfectly valid for dns-sd results in general. What we want to ignore are cases where if_nametoindex returned 0, since those correspond to "no such interface name". The fix is to move "interfaceIndex == 0" check to the right spot. The rest of the changes are just there to improve logging. Specifically, log what's going on with our SRP resolve timer, and include the instance name being resolved in various logs so we can tell which logs have to do with which node being resolved.
- Loading branch information
1 parent
739923c
commit f46cdf3
Showing
2 changed files
with
40 additions
and
18 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
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