diff options
| author | Pieter Wuille <[email protected]> | 2012-05-05 21:27:52 +0200 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2012-05-06 19:59:42 -0400 |
| commit | 5e27f737fa9575f7e060e455956a3851ae28ded3 (patch) | |
| tree | cf9657fb7e5b5dcf336d96b2d85a38e0421470f1 | |
| parent | Fix addrman crashes (diff) | |
| download | discoin-5e27f737fa9575f7e060e455956a3851ae28ded3.tar.xz discoin-5e27f737fa9575f7e060e455956a3851ae28ded3.zip | |
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 7652df66a..3768614cf 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(); } |