This commit is contained in:
Fran Bull committed 2025-02-27 13:43:56 -08:00
1 parent ea684a5ed5
commit 27b69ca97b
1 file changed
+3 -1
+3 -1
View File
@@ -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)
}
}