aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Hill <dhill@conformal.com>2013-10-04 08:46:45 -0400
committerDavid Hill <dhill@conformal.com>2013-10-04 08:46:45 -0400
commita5e685bcf8eea088ba2eea544dcf2b0ac29ff6cc (patch)
treeb8eec74a004cc3a9a38c59e65df55f1a6cc58363 /src
parent15b48ab03612952b355cdd411cc541668d147bfb (diff)
Hurricane Electric uses block 2001:470::, not 2011:470::
Diffstat (limited to 'src')
-rw-r--r--src/netbase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netbase.cpp b/src/netbase.cpp
index acc2ae32aa..360ecdd959 100644
--- a/src/netbase.cpp
+++ b/src/netbase.cpp
@@ -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