(ip netip.Addr)
| 1195 | } |
| 1196 | |
| 1197 | func (ns *Impl) peerAPIPortAtomic(ip netip.Addr) *atomic.Uint32 { |
| 1198 | if ip.Is4() { |
| 1199 | return &ns.peerapiPort4Atomic |
| 1200 | } else { |
| 1201 | return &ns.peerapiPort6Atomic |
| 1202 | } |
| 1203 | } |
| 1204 | |
| 1205 | var viaRange = tsaddr.TailscaleViaRange() |
| 1206 |
no outgoing calls
no test coverage detected