diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-07-27 17:28:13 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-07-27 17:28:13 -0700 |
| commit | e99eda4a4a178bbdbb419791587b581431061439 (patch) | |
| tree | 86762d7ffccc1cdadd91b2744fa3bf7bacebc8b4 /node/InetAddress.cpp | |
| parent | fadb2919625f72b7f0fbff17478ac467a86e657b (diff) | |
| download | infinitytier-e99eda4a4a178bbdbb419791587b581431061439.tar.gz infinitytier-e99eda4a4a178bbdbb419791587b581431061439.zip | |
Fix IP scoping bug, and disable remotely reported surface push... not helping. :(
Diffstat (limited to 'node/InetAddress.cpp')
| -rw-r--r-- | node/InetAddress.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/InetAddress.cpp b/node/InetAddress.cpp index 91bfbed6..1942c4cd 100644 --- a/node/InetAddress.cpp +++ b/node/InetAddress.cpp @@ -74,7 +74,7 @@ InetAddress::IpScope InetAddress::ipScope() const if ((ip & 0xfff00000) == 0xac100000) return IP_SCOPE_PRIVATE; // 172.16.0.0/12 break; case 0xc0: - if ((ip & 0xffff0000) == 0xc9a80000) return IP_SCOPE_PRIVATE; // 192.168.0.0/16 + if ((ip & 0xffff0000) == 0xc0a80000) return IP_SCOPE_PRIVATE; // 192.168.0.0/16 break; case 0xff: return IP_SCOPE_NONE; // 255.0.0.0/8 (broadcast, or unused/unusable) default: |
