We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92892f3 commit 932f085Copy full SHA for 932f085
include/cppcoro/net/ipv4_address.hpp
@@ -66,7 +66,7 @@ namespace cppcoro::net
66
constexpr bool is_private_network() const
67
{
68
return m_bytes[0] == 10 ||
69
- (m_bytes[0] == 172 && (m_bytes[1] & 0xC0) == 0x10) ||
+ (m_bytes[0] == 172 && (m_bytes[1] & 0xF0) == 0x10) ||
70
(m_bytes[0] == 192 && m_bytes[2] == 168);
71
}
72
0 commit comments