[
https://issues.apache.org/jira/browse/NET-511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Gregory resolved NET-511.
------------------------------
Resolution: Fixed
A fix is in to allow the {{SubnetUtils}} class to be instantiated with
{{"0.0.0.0/0"}} which is useful for validation, as noted in a comment, but the
rest of the class does not work as expected for {{"0.0.0.0/0"}}, which should
be addressed in a separate ticket.
> Exception for new SubnetUtils("0.0.0.0/0")
> ------------------------------------------
>
> Key: NET-511
> URL: https://issues.apache.org/jira/browse/NET-511
> Project: Commons Net
> Issue Type: Bug
> Affects Versions: 3.3
> Reporter: Kyriacos Elia
> Priority: Minor
> Attachments: permit_all_ips_cidr.patch
>
>
> The following example in SubnetUtils throws an exception:
> {code:java}
> SubnetUtils utils = new SubnetUtils("0.0.0.0/0");
> {code}
> As '0.0.0.0/0' is within the IPv4 specification, it should be supported.
--
This message was sent by Atlassian JIRA
(v6.1#6144)