mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-10 17:48:25 +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
|
||||
}
|
||||
|
||||
// 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) {
|
||||
var peerUpdate models.PeerUpdate
|
||||
var peers []wgtypes.PeerConfig
|
||||
|
|
Loading…
Reference in a new issue