Skip to content

Commit

Permalink
Bugfix: store source address in addrman
Browse files Browse the repository at this point in the history
  • Loading branch information
sipa authored and gavinandresen committed May 6, 2012
1 parent 05ff968 commit 5e27f73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/addrman.h
Expand Up @@ -62,7 +62,7 @@ class CAddrInfo : public CAddress
nRandomPos = -1;
}

CAddrInfo(const CAddress &addrIn, const CNetAddr &addrSource) : CAddress(addrIn)
CAddrInfo(const CAddress &addrIn, const CNetAddr &addrSource) : CAddress(addrIn), source(addrSource)
{
Init();
}
Expand Down

0 comments on commit 5e27f73

Please sign in to comment.