git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
e2c681d
)
Merge pull request #209 from svost/he
author
0xDEADFACE
<masmfan@gmail.com>
Fri, 17 Apr 2015 19:41:27 +0000 (22:41 +0300)
committer
0xDEADFACE
<masmfan@gmail.com>
Fri, 17 Apr 2015 19:41:27 +0000 (22:41 +0300)
Hurricane Electric uses block 2001:470::, not 2011:470::
src/netbase.cpp
patch
|
blob
|
history
diff --git
a/src/netbase.cpp
b/src/netbase.cpp
index
f4fc537
..
8f94b47
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