Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the Net-CIDR-Lite CPAN distribution.

Report information
The Basics
Id: 123641
Status: new
Priority: 0/
Queue: Net-CIDR-Lite

Owner: Nobody in particular
Requestors: rendal33 [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: Net::CIDR::Lite wrong summarization
Date: Thu, 16 Nov 2017 01:19:44 +0000
To: "bug-Net-CIDR-Lite [...]" <bug-Net-CIDR-Lite [...]>
From: Wieslaw Pucilowski <rendal33 [...]>
Hello, I just wanted to make sure if $cidr->list() a list of the merged CIDR addresses means the same as list of summarized addresses: $cidr = Net::CIDR::Lite->new $cidr->list() Returns a list of the merged CIDR addresses. Returns an array if called in list context, an array reference if not. $cidr->list() does not summarized CIDR correctly. 1. it works for ======List of subnets for summarization:====== ======Summarized IP list:====== 2. but does not for ======List of subnets for summarization:====== ======Summarized IP list:====== it this case summarized subnet should be in other words summarization works in the case where all subnets have the same MSB in the interesting octet in first case 3rd octet 00000100 00000101 00000110 00000111 00000100 - summarized 3rd octet - 4, mask /22 in the second case 00000001 00000010 00000011 000000 - summarized 3rd octet is 0, mask /22 regards Wieslaw Sent from Outlook<>

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to