Skip Menu |

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

Report information
The Basics
Id: 79964
Status: resolved
Worked: 2 hours (120 min)
Priority: 0/
Queue: NetAddr-IP

People
Owner: Nobody in particular
Requestors: oschwald [...] gmail.com
Cc:
AdminCc:

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



Subject: isNewIP4 not working for ::ffff: addreses
This prints 0 even though it should print 1: my $ip = inet_any2n('::ffff:192.0.2.128'); say isNewIPv4($ip); isAnyIPv4 also fails for such addresses. Also the docs have an extra colon before the IPv4 address (ie, '::ffff::d.d.d.d').
On Tue Oct 02 14:25:07 2012, https://www.google.com/accounts/o8/id?id=AItOawmLN-1UMN3FrfUN2pEj6sePftaChORcKMo wrote: Show quoted text
> This prints 0 even though it should print 1: > > my $ip = inet_any2n('::ffff:192.0.2.128'); > say isNewIPv4($ip); > > isAnyIPv4 also fails for such addresses. Also the docs have an extra > colon before the IPv4 address (ie, '::ffff::d.d.d.d'). > >
oops.... thanks for reporting the problem 4.065 uploaded to CPAN :-)