Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.1
-
None
-
None
Description
new SubnetUtils( "1.2.3.4/32" ).getInfo().getAllAddresses() throws
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
$SubnetInfo.getAllAddresses(SubnetUtils.java:166)
Similarly for /31
It would make more sense to return an empty array.