aboutsummaryrefslogtreecommitdiff
path: root/src/netaddress.h
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2021-11-29 12:05:05 +0100
committerVasil Dimov <vd@FreeBSD.org>2022-02-11 15:21:51 +0100
commitd0abce9a50dd4f507e3a30348eabffb7552471d5 (patch)
tree829da0c97825148d7ff925c84179b29a4791fd63 /src/netaddress.h
parent2e38a0e6865187d1f0d0f016d3df7cce414a7c4f (diff)
net: include the port when deciding a relay destination
In `PeerManagerImpl::RelayAddress()` we used just the hash of the address that is being relayed to decide where to relay it to. Include the port in that hash, so that e.g. `1.1.1.1:5555` and `1.1.1.1:6666` get relayed to different peers. Those are two different, distinct services after all.
Diffstat (limited to 'src/netaddress.h')
0 files changed, 0 insertions, 0 deletions