mirror of
https://github.com/tailscale/tailscale.git
synced 2025-07-29 15:23:45 +00:00
wip
This commit is contained in:
parent
ea684a5ed5
commit
27b69ca97b
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user