if the address is produced by a default route don't hash it (#1108)
This commit is contained in:
parent
75b1a62af3
commit
b699d969e4
@ -286,7 +286,7 @@ func (n *network) advertise(advertChan <-chan *router.Advert) {
|
|||||||
address := event.Route.Address
|
address := event.Route.Address
|
||||||
|
|
||||||
// only hash the address if we're advertising our own local routes
|
// only hash the address if we're advertising our own local routes
|
||||||
if event.Route.Router == advert.Id {
|
if event.Route.Router == advert.Id && event.Route.Address != "*" {
|
||||||
// hash the service before advertising it
|
// hash the service before advertising it
|
||||||
hasher.Reset()
|
hasher.Reset()
|
||||||
// routes for multiple instances of a service will be collapsed here.
|
// routes for multiple instances of a service will be collapsed here.
|
||||||
|
Loading…
Reference in New Issue
Block a user