From 1d61a1788f07a65d29141d2ed23002b2aad85ed6 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Sat, 22 Aug 2020 16:15:44 +0100 Subject: [PATCH] Remove quic transport, move route into router --- registry.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/registry.go b/registry.go index 644fdc9..a7b63dd 100644 --- a/registry.go +++ b/registry.go @@ -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)