mirror of
https://github.com/tailscale/tailscale.git
synced 2026-12-03 23:22:23 -08:00
wip
This commit is contained in:
1 parent
ea684a5ed5
commit
27b69ca97b
1 file changed
+3
-1
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user