mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 13:05:46 +00:00
ipn: skip tailscaled UDP ports in service list
This commit is contained in:
parent
60ea635c6d
commit
51b669e4bd
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user