netbird/management/server/mock_server
Maycon Santos e8caa562b0
Send netmask from account network (#369)
* 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
2022-06-24 21:30:51 +02:00
..
account_mock.go Send netmask from account network (#369) 2022-06-24 21:30:51 +02:00
management_server_mock.go Get Device Authorization Flow information from management (#308) 2022-05-08 11:04:57 +02:00