From 2370fb12097bdc71e4de93c34647ce2badf5e6bb Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Wed, 2 Oct 2019 15:52:31 +0100 Subject: [PATCH] Set gateway to node address rather than id --- network/default.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/default.go b/network/default.go index e18ce772..8d482b24 100644 --- a/network/default.go +++ b/network/default.go @@ -683,7 +683,7 @@ func (n *network) advertise(client transport.Client, advertChan <-chan *router.A route := &pbRtr.Route{ Service: event.Route.Service, Address: address, - Gateway: n.node.id, + Gateway: n.node.Address(), Network: event.Route.Network, Router: event.Route.Router, Link: DefaultLink,