mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 20:13:44 +02:00
missing break in InetAddress::ipScope()
This commit is contained in:
parent
167645ba6d
commit
de308f05e0
1 changed files with 1 additions and 0 deletions
|
@ -67,6 +67,7 @@ InetAddress::IpScope InetAddress::ipScope() const
|
||||||
break;
|
break;
|
||||||
case 0xcb:
|
case 0xcb:
|
||||||
if ((ip & 0xffffff00) == 0xcb007100) return IP_SCOPE_PRIVATE; // 203.0.113.0/24
|
if ((ip & 0xffffff00) == 0xcb007100) return IP_SCOPE_PRIVATE; // 203.0.113.0/24
|
||||||
|
break;
|
||||||
case 0xff: return IP_SCOPE_NONE; // 255.0.0.0/8 (broadcast, or unused/unusable)
|
case 0xff: return IP_SCOPE_NONE; // 255.0.0.0/8 (broadcast, or unused/unusable)
|
||||||
}
|
}
|
||||||
switch(ip >> 28) {
|
switch(ip >> 28) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue