Closed micahlee closed 4 years ago
When validating CIDR values, we should also verify that the CIDR notation doesn't include any address bits to the right of the netmask.
For example, 10.0.0.0/24 is a valid CIDR value, while 10.0.0.1/24 is not.
10.0.0.0/24
10.0.0.1/24
When validating CIDR values, we should also verify that the CIDR notation doesn't include any address bits to the right of the netmask.
For example,
10.0.0.0/24
is a valid CIDR value, while10.0.0.1/24
is not.