summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMarwan Sulaiman <marwan.sameer@gmail.com>2023-05-02 15:32:15 -0400
committerMarwan Sulaiman <marwan.sameer@gmail.com>2023-05-02 15:32:15 -0400
commit98a708c0994c64286075a0cf4eadf68ad94b2d66 (patch)
treeb85eee39693d799140be984ace8b8dbd3fd13a74
parent7a530173bd8ce1d9031ab15a8cb16e8ff54727ca (diff)
downloadtailscale-marwan/tmp.tar.xz
tailscale-marwan/tmp.zip
Remove loopback for tcpmarwan/tmp
-rw-r--r--portlist/netstat.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/portlist/netstat.go b/portlist/netstat.go
index 132367ca9..4408d3efd 100644
--- a/portlist/netstat.go
+++ b/portlist/netstat.go
@@ -99,10 +99,6 @@ func appendParsePortsNetstat(base []Port, br *bufio.Reader) ([]Port, error) {
// not interested in non-listener sockets
continue
}
- if isLoopbackAddr(laddr) {
- // not interested in loopback-bound listeners
- continue
- }
} else if mem.HasPrefixFold(protos, mem.S("udp")) {
if len(cols) < 3 {
continue