You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Benjamin Tan (JIRA)" <ji...@apache.org> on 2011/03/30 12:57:05 UTC
[jira] [Issue Comment Edited] (NET-268) SubnetUtilsTest does not
include any tests for CIDR with /30, /31, /32
[ https://issues.apache.org/jira/browse/NET-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012912#comment-13012912 ]
Benjamin Tan edited comment on NET-268 at 3/30/11 10:56 AM:
------------------------------------------------------------
this bug have not fixed.
CIDR Signature: [127.0.0.1/32] Netmask: [255.255.255.255]
Network: [127.0.0.1]
Broadcast: [127.0.0.1]
First Address: [127.0.0.2]
Last Address: [127.0.0.0]
\# Addresses: [-1]
CIDR Signature: [127.0.0.1/31] Netmask: [255.255.255.254]
Network: [127.0.0.0]
Broadcast: [127.0.0.1]
First Address: [127.0.0.1]
Last Address: [127.0.0.0]
\# Addresses: [0]
was (Author: tanbamboo):
this bug have not fix.
CIDR Signature: [127.0.0.1/32] Netmask: [255.255.255.255]
Network: [127.0.0.1]
Broadcast: [127.0.0.1]
First Address: [127.0.0.2]
Last Address: [127.0.0.0]
\# Addresses: [-1]
CIDR Signature: [127.0.0.1/31] Netmask: [255.255.255.254]
Network: [127.0.0.0]
Broadcast: [127.0.0.1]
First Address: [127.0.0.1]
Last Address: [127.0.0.0]
\# Addresses: [0]
> SubnetUtilsTest does not include any tests for CIDR with /30, /31, /32
> -----------------------------------------------------------------------
>
> Key: NET-268
> URL: https://issues.apache.org/jira/browse/NET-268
> Project: Commons Net
> Issue Type: Bug
> Affects Versions: 2.0
> Reporter: Sebb
>
> SubnetUtilsTest does not include any tests for CIDRs with masks of /30, /31, /32
> It only includes tests for /8 /16 /24 and /29, plus a test for the (invalid) /0.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira