Open tlming16 opened 3 years ago
constexpr bool is_private_network() const { return m_bytes[0] == 10 || (m_bytes[0] == 172 && (m_bytes[1] & 0xF0) == 0x10) || (m_bytes[0] == 192 && m_bytes[2] == 168); } where (m_bytes[0] == 192 && m_bytes[2] == 168) should be (m_bytes[0] == 192 && m_bytes[1] == 168) @lewissbaker
constexpr bool is_private_network() const { return m_bytes[0] == 10 || (m_bytes[0] == 172 && (m_bytes[1] & 0xF0) == 0x10) || (m_bytes[0] == 192 && m_bytes[2] == 168); }
(m_bytes[0] == 192 && m_bytes[2] == 168)
(m_bytes[0] == 192 && m_bytes[1] == 168)
constexpr bool is_private_network() const { return m_bytes[0] == 10 || (m_bytes[0] == 172 && (m_bytes[1] & 0xF0) == 0x10) || (m_bytes[0] == 192 && m_bytes[2] == 168); }
where(m_bytes[0] == 192 && m_bytes[2] == 168)
should be(m_bytes[0] == 192 && m_bytes[1] == 168)
@lewissbaker