You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This type of validation is overly strict and is only used to model a network’s IP address rather than a device’s IP address. The original thought was that the validation should match that of Postgres SQLs cidr type, but that is too implementation specific.
For a given mask, if the IP address has bits set to the right, it should be invalid.
For example:
2.2.2.0/22
should be invalid because there are bits set to the right of the mask.ip address bit pattern (2.2.2.0):
00000010 00000010 00000010 00000000
mask bit pattern (22):
11111111 11111111 11111100 00000000
The text was updated successfully, but these errors were encountered: