aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hill <dhill@conformal.com>2013-10-04 08:46:45 -0400
committerWladimir J. van der Laan <laanwj@gmail.com>2013-11-26 14:00:48 +0100
commit0119e0c592018d5c9e83e301408858ab04b7d674 (patch)
tree07a08ab04d10b7f4b5a71333d4377dfa8ba267b1
parentf46f128b9a60765c68dd9fbe66d7f7778914900b (diff)
Hurricane Electric uses block 2001:470::, not 2011:470::
-rw-r--r--src/netbase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netbase.cpp b/src/netbase.cpp
index 08d133740a..d969516750 100644
--- a/src/netbase.cpp
+++ b/src/netbase.cpp
@@ -860,7 +860,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