-
Notifications
You must be signed in to change notification settings - Fork 998
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore the peer name when constructing a response
- Remove the peer ID parsing logic and ignore the peer name. - Remove `my_peer_id` from `MdnsPeer::new(...)` parameters. - Ignore addresses with bad or no peer IDs, use the peer ID of the first address with a peer ID as a reference, and ignore all addresses whose peer ID does not match the first peer ID. Note that `MdnsPeer::new(...)` now returns a Result type because there is no gaurantee that there will be a peer ID to create the peer.
- Loading branch information
1 parent
36aa172
commit 4ffa9f4
Showing
1 changed file
with
72 additions
and
25 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