correctly reverse-resolve source of inbound connections

There were two problems:
- the renderer was looking for reverse names on the destination
- the probe was not annotating source nodes with reverse-resolved names

Fixes #1847
This commit is contained in:
Matthias Radestock
2016-09-02 20:31:03 +01:00
parent 813ea780dc
commit 5bc3a9d5ac
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ func outgoingConnectionsSummary(topologyID string, r report.Report, n report.Nod
if !ok {
continue
}
key := newConnection(n, node, port, remoteEndpointID, localAddr)
key := newConnection(n, node, port, localEndpoint.ID, localAddr)
counts[key] = counts[key] + 1
}
}