Set gateway to node address rather than id

This commit is contained in:
Asim Aslam 2019-10-02 15:52:31 +01:00
parent 519e8a7213
commit 2370fb1209

View File

@ -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,