From b699d969e474727080cbf78c97f48da7dadd306d Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Tue, 14 Jan 2020 11:20:13 +0000 Subject: [PATCH] if the address is produced by a default route don't hash it (#1108) --- network/default.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/default.go b/network/default.go index 7e78b992..f8f9ef9b 100644 --- a/network/default.go +++ b/network/default.go @@ -286,7 +286,7 @@ func (n *network) advertise(advertChan <-chan *router.Advert) { address := event.Route.Address // 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 hasher.Reset() // routes for multiple instances of a service will be collapsed here.