mirror of
https://github.com/tim-beatham/smegmesh.git
synced 2025-08-16 08:07:57 +02:00
55-cli-optionifor-peer-type
- Ability to specify WireGuard keepalive in the CLI formatter - Ability to specify publicly routeable endpoint - Ability to specify whether to advetise routes into the mesh, and whether to advertise default routes.
This commit is contained in:
@ -99,7 +99,9 @@ func (s *SmegServer) CreateMesh(c *gin.Context) {
|
||||
}
|
||||
|
||||
ipcRequest := ipc.NewMeshArgs{
|
||||
WgPort: createMesh.WgPort,
|
||||
WgArgs: ipc.WireGuardArgs{
|
||||
WgPort: createMesh.WgPort,
|
||||
},
|
||||
}
|
||||
|
||||
var reply string
|
||||
@ -132,7 +134,9 @@ func (s *SmegServer) JoinMesh(c *gin.Context) {
|
||||
ipcRequest := ipc.JoinMeshArgs{
|
||||
MeshId: joinMesh.MeshId,
|
||||
IpAdress: joinMesh.Bootstrap,
|
||||
Port: joinMesh.WgPort,
|
||||
WgArgs: ipc.WireGuardArgs{
|
||||
WgPort: joinMesh.WgPort,
|
||||
},
|
||||
}
|
||||
|
||||
var reply string
|
||||
|
Reference in New Issue
Block a user