commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Tan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NET-268) SubnetUtilsTest does not include any tests for CIDR with /30, /31, /32
Date Wed, 30 Mar 2011 10:53:05 GMT

    [ https://issues.apache.org/jira/browse/NET-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012912#comment-13012912
] 

Benjamin Tan commented on NET-268:
----------------------------------

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

Mime
View raw message