Merge pull request #3053 from dajohi/master

Hurricane Electric uses block 2001:470::, not 2011:470::
This commit is contained in:
Gavin Andresen 2013-10-05 21:37:13 -07:00
commit 1c4994253c

View file

@ -864,7 +864,7 @@ std::vector<unsigned char> CNetAddr::GetGroup() const
nBits = 4;
}
// for he.net, use /36 groups
else if (GetByte(15) == 0x20 && GetByte(14) == 0x11 && GetByte(13) == 0x04 && GetByte(12) == 0x70)
else if (GetByte(15) == 0x20 && GetByte(14) == 0x01 && GetByte(13) == 0x04 && GetByte(12) == 0x70)
nBits = 36;
// for the rest of the IPv6 network, use /32 groups
else