aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2020-11-24 15:36:27 +0100
committerVasil Dimov <vd@FreeBSD.org>2021-03-01 12:57:01 +0100
commitf6c267db3be2d7077fd2bdbd34860eba838dea99 (patch)
treedd2a7126aea151c39442993404002e84a02b75f8 /src/interfaces
parent7c224fdac4699a2c4953b33ab423f9cddbf95cf7 (diff)
net: avoid unnecessary GetBindAddress() call
Our local (bind) address is already saved in `CNode::addrBind` and there is no need to re-retrieve it again with `GetBindAddress()`. Also, for I2P connections `CNode::addrBind` would contain our I2P address, but `GetBindAddress()` would return something like `127.0.0.1:RANDOM_PORT`.
Diffstat (limited to 'src/interfaces')
0 files changed, 0 insertions, 0 deletions