mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-21 16:09:59 +08:00
add network to peer
This commit is contained in:
@@ -152,6 +152,7 @@ func setPeerInfo(node *models.Node) models.Node {
|
||||
peer.PublicKey = node.PublicKey
|
||||
peer.Endpoint = node.Endpoint
|
||||
peer.Name = node.Name
|
||||
peer.Network = node.Network
|
||||
peer.LocalAddress = node.LocalAddress
|
||||
peer.ListenPort = node.ListenPort
|
||||
peer.AllowedIPs = node.AllowedIPs
|
||||
|
Reference in New Issue
Block a user