Hi,

It's about SubnetUtils. The class currently only supports IPv4 due to a
32-bit integer (for IPv6, 128 bits are needed), and many other limitations
(e.g., NBITS = 32, IPv4-only regex, and dotted-decimal formatting).

I want to use this library to basically match client IPs against CIDR
ranges for both IPv4 and IPv6. So I was wondering if adding SubnetUtils6 or
refactoring with a common interface + two implementations would make sense?

Best regards,

Maros.

Reply via email to