Closed willmurnane closed 6 years ago
See also https://www.ipaddressguide.com/cidr to test. Essentially, the existing code keeps the wrong number of bits, but because the test cases only had netmask % 8 == 4, it was missed.
Good catch
See also https://www.ipaddressguide.com/cidr to test. Essentially, the existing code keeps the wrong number of bits, but because the test cases only had netmask % 8 == 4, it was missed.