mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-05 08:47:35 +08:00
adding gateway functionality
This commit is contained in:
@@ -43,7 +43,7 @@ func (s *NodeServiceServer) ReadNode(ctx context.Context, req *nodepb.ReadNodeRe
|
||||
Nodenetwork: node.Network,
|
||||
Interface: node.Interface,
|
||||
Localaddress: node.LocalAddress,
|
||||
Preup: node.PreUp,
|
||||
Postdown: node.PostDown,
|
||||
Postup: node.PostUp,
|
||||
Checkininterval: node.CheckInInterval,
|
||||
Ispending: node.IsPending,
|
||||
@@ -197,7 +197,7 @@ func (s *NodeServiceServer) UpdateNode(ctx context.Context, req *nodepb.UpdateNo
|
||||
PersistentKeepalive: data.GetKeepalive(),
|
||||
Network: data.GetNodenetwork(),
|
||||
Interface: data.GetInterface(),
|
||||
PreUp: data.GetPreup(),
|
||||
PostDown: data.GetPostdown(),
|
||||
PostUp: data.GetPostup(),
|
||||
IsPending: data.GetIspending(),
|
||||
PublicKey: data.GetPublickey(),
|
||||
@@ -240,7 +240,7 @@ func (s *NodeServiceServer) UpdateNode(ctx context.Context, req *nodepb.UpdateNo
|
||||
Endpoint: newnode.Endpoint,
|
||||
Password: newnode.Password,
|
||||
Interface: newnode.Interface,
|
||||
Preup: newnode.PreUp,
|
||||
Postdown: newnode.PostDown,
|
||||
Postup: newnode.PostUp,
|
||||
Nodenetwork: newnode.Network,
|
||||
Ispending: newnode.IsPending,
|
||||
|
Reference in New Issue
Block a user