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

Send netmask from account network #369

Merged
merged 3 commits into from
Jun 24, 2022
Merged

Conversation

mlsmaycon
Copy link
Collaborator

Added the GetPeerNetwork method to account manager

Pass a copy of the network to the toPeerConfig function
to retrieve the netmask from the network instead of constant

updated methods and added test

Added the GetPeerNetwork method to account manager

Pass a copy of the network to the toPeerConfig function
to retrieve the netmask from the network instead of constant

updated methods and added test
@mlsmaycon mlsmaycon requested a review from braginini June 24, 2022 17:30
@mlsmaycon mlsmaycon marked this pull request as ready for review June 24, 2022 18:33
@mlsmaycon mlsmaycon merged commit e8caa56 into main Jun 24, 2022
@mlsmaycon mlsmaycon deleted the send-netmask-from-account branch June 24, 2022 19:30
pulsastrix pushed a commit to pulsastrix/netbird that referenced this pull request Dec 24, 2023
* Send netmask from account network

Added the GetPeerNetwork method to account manager

Pass a copy of the network to the toPeerConfig function
to retrieve the netmask from the network instead of constant

updated methods and added test

* check if the network is the same for 2 peers

* Use expect with BeEquivalentTo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants