Francesco vigotti created NET-664:
-------------------------------------

             Summary: SubnetUtils invalid address "1.1.125.52/32"
                 Key: NET-664
                 URL: https://issues.apache.org/jira/browse/NET-664
             Project: Commons Net
          Issue Type: Bug
    Affects Versions: 3.6
         Environment: kotlin
            Reporter: Francesco vigotti


during some work I've spotted an issue ( probably more addresses are affected, 
I've just spotted that ) 


 val addr = "1.1.125.52/32"
 val subnetUtils = SubnetUtils(addr)
 assertThat(subnetUtils.info.lowAddress).isEqualTo("1.1.125.52")
----
org.opentest4j.AssertionFailedError: 
Expecting:
 <"0.0.0.0">
to be equal to:
 <"1.1.125.52">
but was not.
Expected :1.1.125.52
Actual :0.0.0.0
 <



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to