mirror of https://github.com/libp2p/go-libp2p.git
Browse Source
In #917, we started dropping additional address observations if we had multiple for the same transport set. However, on further consideration, this isn't quite correct. We _want_ to keep additional observations for multiple IP addresses. The real issue is many observations for different ports. So this patch simply changes the key with which we group observations from "address protocols" to "address without the port" (well, with the port set to 0).feat/group-exclude-port
Steven Allen
5 years ago
2 changed files with 40 additions and 20 deletions
Loading…
Reference in new issue