summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/tcpip.go
diff options
context:
space:
mode:
authorGoogler <noreply@google.com>2018-08-16 15:32:42 -0700
committerShentubot <shentubot@google.com>2018-08-16 15:34:00 -0700
commitfbd5df9c6fec9119c8036bf5664a27afb35a08ec (patch)
tree2005b690ac3f30ef7d52a3f233435d6717281dfb /pkg/tcpip/tcpip.go
parentda087e66cc0eb1616437e5b729576801671d3696 (diff)
Internal change.
PiperOrigin-RevId: 209060862 Change-Id: I2cd02f0032b80d0087110095548b1a8ffa696ac2
Diffstat (limited to 'pkg/tcpip/tcpip.go')
-rw-r--r--pkg/tcpip/tcpip.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/tcpip.go b/pkg/tcpip/tcpip.go
index af0aec85c..bea73def9 100644
--- a/pkg/tcpip/tcpip.go
+++ b/pkg/tcpip/tcpip.go
@@ -578,7 +578,7 @@ var danglingEndpoints = make(map[Endpoint]struct{})
func GetDanglingEndpoints() []Endpoint {
es := make([]Endpoint, 0, len(danglingEndpoints))
danglingEndpointsMu.Lock()
- for e, _ := range danglingEndpoints {
+ for e := range danglingEndpoints {
es = append(es, e)
}
danglingEndpointsMu.Unlock()