You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Francesco vigotti (JIRA)" <ji...@apache.org> on 2019/01/28 16:21:00 UTC
[jira] [Created] (NET-664) SubnetUtils invalid address
"1.1.125.52/32"
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)