Skip Menu |

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

Report information
The Basics
Id: 117995
Status: new
Priority: 0/
Queue: NetAddr-IP

People
Owner: Nobody in particular
Requestors: ntyni [...] iki.fi
Cc:
AdminCc:

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



Subject: parsing big integers confuses IP versions
As reported by Florian Lohoff in https://bugs.debian.org/838274 : % perl -MNetAddr::IP -e '$a=new NetAddr::IP('9000092018'); print $a->version(). "\n"; print $a . "\n"' 4 0:0:0:0:0:2:1872:8172/128 I would expect the version part to be 6. It looks like integers too big to fit in IPv4 space still get labelled as IPv4 ones.