git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
9f0fb80
)
Hurricane Electric uses block 2001:470::, not 2011:470::
209/head
author
David Hill
<dhill@conformal.com>
Fri, 4 Oct 2013 12:46:45 +0000 (08:46 -0400)
committer
svost
<ya.nowa@yandex.ru>
Fri, 17 Apr 2015 16:06:43 +0000 (19:06 +0300)
src/netbase.cpp
patch
|
blob
|
history
diff --git
a/src/netbase.cpp
b/src/netbase.cpp
index
3c83b19
..
67a8e89
100644
(file)
--- a/
src/netbase.cpp
+++ b/
src/netbase.cpp
@@
-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