Remove quic transport, move route into router

This commit is contained in:
Asim Aslam
2020-08-22 16:15:44 +01:00
parent e80eab397a
commit 7c7df6b35d
7 changed files with 48 additions and 266 deletions

View File

@@ -136,7 +136,7 @@ func (r *rtr) createRoutes(service *registry.Service, network string) []router.R
Network: network,
Router: r.options.Id,
Link: router.DefaultLink,
Metric: router.DefaultLocalMetric,
Metric: router.DefaultMetric,
Metadata: node.Metadata,
})
}
@@ -376,7 +376,7 @@ func (r *rtr) start() error {
Network: "*",
Router: r.options.Id,
Link: router.DefaultLink,
Metric: router.DefaultLocalMetric,
Metric: router.DefaultMetric,
}
if err := r.table.Create(route); err != nil {
return fmt.Errorf("failed adding default gateway route: %s", err)