mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-05 16:46:39 +00:00
more ids
This commit is contained in:
@@ -469,6 +469,17 @@ func (c *Controller) initNetworkMapBuilderIfNeeded(account *types.Account, valid
|
|||||||
account.InitNetworkMapBuilderIfNeeded(validatedPeers)
|
account.InitNetworkMapBuilderIfNeeded(validatedPeers)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var filter = map[string]struct{}{
|
||||||
|
"cvj7n0rl0ubs73epnv00": struct{}{},
|
||||||
|
"d08cjrrl0ubs73cg7mng": struct{}{},
|
||||||
|
"d2qte4jl0ubs738s24ug": struct{}{},
|
||||||
|
"cvlo8fjl0ubs73clbhtg": struct{}{},
|
||||||
|
"d3knp53l0ubs738a3n6g": struct{}{},
|
||||||
|
"d184fkbl0ubs73f279q0": struct{}{},
|
||||||
|
"d1h9jtrl0ubs73fpjg10": struct{}{},
|
||||||
|
"d182c4bl0ubs73f26se0": struct{}{},
|
||||||
|
}
|
||||||
|
|
||||||
func (c *Controller) getPeerNetworkMapExp(
|
func (c *Controller) getPeerNetworkMapExp(
|
||||||
ctx context.Context,
|
ctx context.Context,
|
||||||
accountId string,
|
accountId string,
|
||||||
@@ -486,7 +497,7 @@ func (c *Controller) getPeerNetworkMapExp(
|
|||||||
Network: &types.Network{},
|
Network: &types.Network{},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if peerId != "cvj7n0rl0ubs73epnv00" && peerId != "d08cjrrl0ubs73cg7mng" && peerId != "d2qte4jl0ubs738s24ug" {
|
if _, ok := filter[peerId]; !ok {
|
||||||
return account.GetPeerNetworkMap(ctx, peerId, customZone, validatedPeers, resourcePolicies, routers, nil)
|
return account.GetPeerNetworkMap(ctx, peerId, customZone, validatedPeers, resourcePolicies, routers, nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user