DavidTPate / isip

Pure Javascript implementation for truly checking if the provided input is an IP address. Based on RFC 791 (IPv4) RFC 4291 (IPv6) and RFC 4632 (CIDR)
MIT License
3 stars 1 forks source link

CIDR for IPv6 wrong #1

Open Dexus opened 9 years ago

Dexus commented 9 years ago

IPv6 have cidr /1 - /128

DavidTPate commented 9 years ago

Yeah, that is definitely incorrect in the library. I'll mark this to be updated.