You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2013/12/31 00:49:50 UTC

[jira] [Resolved] (NET-520) SubnetUtils("0.0.0.0/0") does not behave as expected

     [ https://issues.apache.org/jira/browse/NET-520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb resolved NET-520.
----------------------

       Resolution: Fixed
    Fix Version/s: 3.4

URL: http://svn.apache.org/r1554334
Log:
NET-520 SubnetUtils("0.0.0.0/0") does not behave as expected
Fixed range checking so network and broadcast addresses are treated as unsigned ints

Modified:
    commons/proper/net/trunk/src/changes/changes.xml
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/util/SubnetUtils.java
    commons/proper/net/trunk/src/test/java/org/apache/commons/net/SubnetUtilsTest.java


> SubnetUtils("0.0.0.0/0") does not behave as expected
> ----------------------------------------------------
>
>                 Key: NET-520
>                 URL: https://issues.apache.org/jira/browse/NET-520
>             Project: Commons Net
>          Issue Type: Bug
>            Reporter: Sebb
>             Fix For: 3.4
>
>
> See NET-511 - SubnetUtils("0.0.0.0/0") can now be created, but does not behave as might be expected.
> Unit tests needed which can then drive the fixes



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)