mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-10 15:14:22 +08:00
code review fixes
This commit is contained in:
parent
34263a6e2f
commit
72799caa42
1 changed files with 2 additions and 0 deletions
|
@ -286,6 +286,8 @@ func getPeerDNS(network string) string {
|
||||||
return dns
|
return dns
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// GetPeerUpdateForRelayedNode - calculates peer update for a relayed node by getting the relay
|
||||||
|
// copying the relay node's allowed ips and making appropriate substitutions
|
||||||
func GetPeerUpdateForRelayedNode(node *models.Node) (models.PeerUpdate, error) {
|
func GetPeerUpdateForRelayedNode(node *models.Node) (models.PeerUpdate, error) {
|
||||||
var peerUpdate models.PeerUpdate
|
var peerUpdate models.PeerUpdate
|
||||||
var peers []wgtypes.PeerConfig
|
var peers []wgtypes.PeerConfig
|
||||||
|
|
Loading…
Add table
Reference in a new issue