diff options
author | Vasil Dimov <vd@FreeBSD.org> | 2020-11-24 15:36:27 +0100 |
---|---|---|
committer | Vasil Dimov <vd@FreeBSD.org> | 2021-03-01 12:57:01 +0100 |
commit | f6c267db3be2d7077fd2bdbd34860eba838dea99 (patch) | |
tree | dd2a7126aea151c39442993404002e84a02b75f8 /src/interfaces | |
parent | 7c224fdac4699a2c4953b33ab423f9cddbf95cf7 (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