Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E2B4110323 for ; Fri, 6 Dec 2013 15:30:40 +0000 (UTC) Received: (qmail 3963 invoked by uid 500); 6 Dec 2013 15:30:38 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 3893 invoked by uid 500); 6 Dec 2013 15:30:37 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 3875 invoked by uid 99); 6 Dec 2013 15:30:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Dec 2013 15:30:35 +0000 Date: Fri, 6 Dec 2013 15:30:35 +0000 (UTC) From: "Gary Gregory (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (NET-511) 0.0.0.0/0 CIDR check fails in subnet utils MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/NET-511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory updated NET-511: ----------------------------- Description: The following example in SubnetUtils throws an exception: {code:java} SubnetUtils utils = new SubnetUtils("0.0.0.0/0"); {code} As '0.0.0.0/0' is within the IPv4 specification, it should be supported. was: The following example in SubnetUtils fails: SubnetUtils utils = new SubnetUtils("0.0.0.0/0") utils.getInfo().isInRange(anyValidIpAddress); As '0.0.0.0/0' is within the IPv4 specification, it should be supported. > 0.0.0.0/0 CIDR check fails in subnet utils > ------------------------------------------ > > Key: NET-511 > URL: https://issues.apache.org/jira/browse/NET-511 > Project: Commons Net > Issue Type: Bug > Affects Versions: 3.3 > Reporter: Kyriacos Elia > Priority: Minor > Attachments: permit_all_ips_cidr.patch > > > The following example in SubnetUtils throws an exception: > {code:java} > SubnetUtils utils = new SubnetUtils("0.0.0.0/0"); > {code} > As '0.0.0.0/0' is within the IPv4 specification, it should be supported. -- This message was sent by Atlassian JIRA (v6.1#6144)