Skip Menu |

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

Report information
The Basics
Id: 102333
Status: stalled
Priority: 0/
Queue: Net-IP

People
Owner: cpan [...] bat.ru
Requestors: gilberto.silverio [...] hp.com
Cc:
AdminCc:

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



Subject: [cpan-questions #30690] Invalid prefix in Net::IP
Date: Tue, 24 Feb 2015 21:10:03 +0000
To: "bug-Net-IP [...] rt.cpan.org" <bug-Net-IP [...] rt.cpan.org>
From: "Silverio, Gilberto" <gilberto.silverio [...] hp.com>
Hi, Receiving an error when trying to calculate the IPs below using Net::IP. 41.1.225.203/29 Invalid prefix 00101001000000011110000111001011/29 196.207.47.177/30 Invalid prefix 11000100110011110010111110110001/30 Are these IPs invalids? [cid:image002.png@01D0505A.5A7EEA10] [cid:image003.png@01D0505A.5A7EEA10] Thanks a lot, Gilberto Silvério Technology Consultant HP ES/CMS gilberto.silverio@hp.com<mailto:gilberto.silverio@hp.com> T +55 21 3441-7206 / M +55 21 997888195 Hewlett-Packard Brasil [cid:image001.png@01CDB6D3.DFECDF90]<http://www.hp.com/>
Download image001.png
image/png 35k
image001.png
Download image002.png
image/png 35.5k
image002.png
Download image003.png
image/png 3.6k
image003.png
On Tue Feb 24 16:11:11 2015, gilberto.silverio@hp.com wrote: Show quoted text
> Hi, > > Receiving an error when trying to calculate the IPs below using Net::IP. > > 41.1.225.203/29 > Invalid prefix 00101001000000011110000111001011/29 > > 196.207.47.177/30 > Invalid prefix 11000100110011110010111110110001/30 > > Are these IPs invalids?
From the given screenshots you can see, that actual ranges shoul be: 41.1.225.200/29 and 196.207.47.176/30 respectivelly. Net::IP chooses(possibly, wrongfully) to be strict with the provided ranges and doesn't accept starting IP that lays within the range. ATM I can't say is it safe to modify this behaviour.