tiny simplifying refactor

This commit is contained in:
Matthias Radestock
2016-09-14 12:19:09 +01:00
parent 1d8fc6620e
commit 94cd73c72b

View File

@@ -106,7 +106,7 @@ func (c *connectionCounters) add(sourceEndpoint report.Node, n report.Node, node
}
c.counted[connectionID] = struct{}{}
key := newConnection(n, node, port, endpointID, localAddr)
c.counts[key] = c.counts[key] + 1
c.counts[key]++
}
func (c *connectionCounters) rows(r report.Report, ns report.Nodes, includeLocal bool) []Connection {