summaryrefslogtreecommitdiffhomepage
path: root/net/netcheck/netcheck.go
diff options
context:
space:
mode:
Diffstat (limited to 'net/netcheck/netcheck.go')
-rw-r--r--net/netcheck/netcheck.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netcheck/netcheck.go b/net/netcheck/netcheck.go
index 2c429862e..c701cc05e 100644
--- a/net/netcheck/netcheck.go
+++ b/net/netcheck/netcheck.go
@@ -541,7 +541,7 @@ func makeProbePlanInitial(dm *tailcfg.DERPMap, ifState *netmon.State) (plan prob
plan = make(probePlan)
for _, reg := range dm.Regions {
- if len(reg.Nodes) == 0 {
+ if reg.Avoid || len(reg.Nodes) == 0 {
continue
}