ipn/ipnlocal: exclude tvOS devices from taildrop file targets (#10002)

This commit is contained in:
Rhea Ghosh
2023-10-27 16:35:18 -05:00
committed by GitHub
parent f66dc8dc0a
commit 387a98fe28
2 changed files with 22 additions and 0 deletions

View File

@@ -4605,6 +4605,9 @@ func (b *LocalBackend) FileTargets() ([]*apitype.FileTarget, error) {
if !b.peerIsTaildropTargetLocked(p) {
continue
}
if p.Hostinfo().OS() == "tvOS" {
continue
}
peerAPI := peerAPIBase(b.netMap, p)
if peerAPI == "" {
continue