ipn: skip tailscaled UDP ports in service list

This commit is contained in:
Brad Fitzpatrick 2020-03-19 19:56:02 -07:00
parent 60ea635c6d
commit 51b669e4bd

View File

@ -334,6 +334,10 @@ func (b *LocalBackend) runPoller() {
// uninteresting system services // uninteresting system services
continue continue
} }
if p.Proto == "udp" && strings.EqualFold(p.Process, "tailscaled") {
// Skip our own.
continue
}
s := tailcfg.Service{ s := tailcfg.Service{
Proto: proto, Proto: proto,
Port: p.Port, Port: p.Port,