Skip to content

Commit

Permalink
Hurricane Electric uses block 2001:470::, not 2011:470::
Browse files Browse the repository at this point in the history
  • Loading branch information
dajohi committed Oct 4, 2013
1 parent 15b48ab commit a5e685b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/netbase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a5e685b

Please sign in to comment.