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

Sebb resolved NET-698.
----------------------
    Resolution: Invalid

> SubnetInfo.isInRange doesn't handle /32 netmask properly
> --------------------------------------------------------
>
>                 Key: NET-698
>                 URL: https://issues.apache.org/jira/browse/NET-698
>             Project: Commons Net
>          Issue Type: Bug
>    Affects Versions: 3.7.2
>            Reporter: Jon Schewe
>            Priority: Major
>
> I believe that this code should print out true, however it prints out false.
>  
> {code:java}
> final String address = "192.168.0.1";
> final SubnetUtils subnetUtils = new SubnetUtils(address, "255.255.255.255");
> System.out.println("In range? " + 
> subnetUtils.getInfo().isInRange(address));{code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to