Hurricane Electric uses block 2001:470::, not 2011:470:: 209/head
authorDavid Hill <dhill@conformal.com>
Fri, 4 Oct 2013 12:46:45 +0000 (08:46 -0400)
committersvost <ya.nowa@yandex.ru>
Fri, 17 Apr 2015 16:06:43 +0000 (19:06 +0300)
src/netbase.cpp

index 3c83b19..67a8e89 100644 (file)
@@ -906,7 +906,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