2
0
Эх сурвалжийг харах

missing break in InetAddress::ipScope()

Grant Limberg 4 жил өмнө
parent
commit
de308f05e0
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      node/InetAddress.cpp

+ 1 - 0
node/InetAddress.cpp

@@ -67,6 +67,7 @@ InetAddress::IpScope InetAddress::ipScope() const
 					break;
 				case 0xcb:
 					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)
 			}
 			switch(ip >> 28) {