diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-05-05 21:27:52 +0200 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2012-05-06 19:59:42 -0400 |
commit | 5e27f737fa9575f7e060e455956a3851ae28ded3 (patch) | |
tree | cf9657fb7e5b5dcf336d96b2d85a38e0421470f1 | |
parent | 05ff9680baed281e00e2a0cab43d1d9ef17ec891 (diff) |
Bugfix: store source address in addrman
-rw-r--r-- | src/addrman.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/addrman.h b/src/addrman.h index 7652df66ae..3768614cfe 100644 --- a/src/addrman.h +++ b/src/addrman.h @@ -62,7 +62,7 @@ public: nRandomPos = -1; } - CAddrInfo(const CAddress &addrIn, const CNetAddr &addrSource) : CAddress(addrIn) + CAddrInfo(const CAddress &addrIn, const CNetAddr &addrSource) : CAddress(addrIn), source(addrSource) { Init(); } |