aboutsummaryrefslogtreecommitdiff
path: root/src/addrman.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-05-05 21:27:52 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2012-05-05 21:33:29 +0200
commitbd1aabe941bb7568e6e4e06356a6e98a8ba78a5d (patch)
treed5e1a582b64226e0cf4cb5a79ba92e882ec4bde6 /src/addrman.h
parent56f1e912397de656988cf7898b5457892bce3c30 (diff)
Bugfix: store source address in addrman
Diffstat (limited to 'src/addrman.h')
-rw-r--r--src/addrman.h2
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();
}