nikunjb commented on issue #41: [NET-405] Support for IPv6 in SubnetUtils
URL: https://github.com/apache/commons-net/pull/41#issuecomment-529165234
 
 
   There is one more issue I have found. It breaks the IPV4 subnet lookup for 
range specs with /32 also. In this case its not throwing an exception, but is 
not matching the exact IP. This used to work before applying this patch.
   
   e.g. a test case like this is broken. The last assertTrue statement fails.
   
           utils = new SubnetUtils("192.168.0.1/32");
           utils.setInclusiveHostCount(true);
           info = utils.getInfo();
           assertEquals("255.255.255.255", info.getNetmask());
           assertTrue(info.isInRange("192.168.0.1"));
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to