Skip Menu |

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

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

People
Owner: cpan [...] bat.ru
Requestors: quanah.gibsonmount [...] gmail.com
Cc:
AdminCc:

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



Subject: Valid IPv4 localhost range is rejected
We are 127.0.0.1/8 print "We are $_\n"; my $ip = new Net::IP("$_") or die (Net::IP::Error()); Invalid prefix 01111111000000000000000000000001/8 at ./zmserverips line 39, <INTS> line 5.
On Fri Jun 27 15:41:31 2014, MISHIKAL wrote: Show quoted text
> We are 127.0.0.1/8 > print "We are $_\n"; > my $ip = new Net::IP("$_") or die (Net::IP::Error()); > > Invalid prefix 01111111000000000000000000000001/8 at ./zmserverips > line 39, <INTS> line 5.
Net::IP expects that address contains exactly first address of the prefix and it's size. Validity of such an assumption is another question, but that's what is documented ATM.