From 27b69ca97b07bbda6230694f8001cc99e19b90b7 Mon Sep 17 00:00:00 2001 From: Fran Bull Date: Thu, 27 Feb 2025 10:00:57 -0800 Subject: [PATCH] wip --- tsconsensus/authorization.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tsconsensus/authorization.go b/tsconsensus/authorization.go index 43a25b120..19ccead53 100644 --- a/tsconsensus/authorization.go +++ b/tsconsensus/authorization.go @@ -134,7 +134,9 @@ func newPeers(status *ipnstate.Status, tag string) *peers { return s == tag }) { ps.allowedPeers = append(ps.allowedPeers, p) - for _, addr := range p.TailscaleIPs { + //for _, addr := range p.TailscaleIPs { + for _, pfx := range p.AllowedIPs.All() { // TODO not this! switch back + addr := pfx.Addr() ps.allowedRemoteAddrs.Add(addr) } }