Jon Schewe created NET-698:
------------------------------

             Summary: 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


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