Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bind Discovery Using Neutral Network Version #8359

Merged
merged 4 commits into from Jan 29, 2021
Merged

Bind Discovery Using Neutral Network Version #8359

merged 4 commits into from Jan 29, 2021

Conversation

nisdas
Copy link
Member

@nisdas nisdas commented Jan 29, 2021

What type of PR is this?

Bug Fix

What does this PR do? Why is it needed?

  • Does not specify the specific protocol to bind to, instead letting the OS determine which sockets are available
    and bind to them specifically.

Which issues(s) does this PR fix?

N.A

Other notes for review

@nisdas nisdas requested a review from a team as a code owner January 29, 2021 03:38
@nisdas nisdas added Ready For Review A pull request ready for code review Networking P2P related items labels Jan 29, 2021
@@ -99,13 +99,13 @@ func (s *Service) createListener(
) (*discover.UDPv5, error) {
// Listen to all network interfaces
// for both ip protocols.
var networkVersion string
networkVersion := "udp"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe define networkVersion next to its usage before L129?

Otherwise it's a little hard to tell what is going on : )

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright done

@nisdas nisdas merged commit b74dd96 into develop Jan 29, 2021
@delete-merged-branch delete-merged-branch bot deleted the bindBetter branch January 29, 2021 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Networking P2P related items Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants