Explorar o código

code review fixes

Matthew R Kasun %!s(int64=3) %!d(string=hai) anos
pai
achega
35aecc68ff
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      logic/peers.go

+ 2 - 0
logic/peers.go

@@ -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