mirror of
https://github.com/tim-beatham/smegmesh.git
synced 2025-08-18 08:59:45 +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:
@@ -20,6 +20,10 @@ func (r *RouteManagerImpl) UpdateRoutes() error {
|
||||
routes := make(map[string][]Route)
|
||||
|
||||
for _, mesh1 := range meshes {
|
||||
if !*mesh1.GetConfiguration().AdvertiseRoutes {
|
||||
continue
|
||||
}
|
||||
|
||||
self, err := r.meshManager.GetSelf(mesh1.GetMeshId())
|
||||
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user