git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
adecb2e
)
Bugfix: store source address in addrman
author
Pieter Wuille
<pieter.wuille@gmail.com>
Sat, 5 May 2012 19:27:52 +0000 (21:27 +0200)
committer
Luke Dashjr
<luke-jr+git@utopios.org>
Sun, 6 May 2012 05:33:38 +0000 (
05:33
+0000)
src/addrman.h
patch
|
blob
|
history
diff --git
a/src/addrman.h
b/src/addrman.h
index
91e1f87
..
5f1d7b2
100644
(file)
--- 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();
}