-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix peer discovery requests with multiple NICs
When multiple functional network interfaces were available in a system, only one of them would be used to send peer discovery request messages. If that happened to be a virtual interface, no discovery messages would ever be sent from the real network card to the real network. Now the code will loop through all network interfaces with multicast capability and send the discovery message from each of them. Duplicate responses will be ignored, in case multiple interfaces are on the same network and receive the same responses. The same applies to listening for peer discovery requests, the server will now listen on all interfaces.
- Loading branch information
Showing
5 changed files
with
261 additions
and
103 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
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
Oops, something went wrong.