Set gateway to node address rather than id
This commit is contained in:
parent
519e8a7213
commit
2370fb1209
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user