> > Looking into it...
> 
> > > I know NetAddr::IP recently got a re-design and probably SA have to
> cope
> > > with this.
> 
> Looks like a but in NetAddr::IP 4.034, it forgets to adjust the CIDR
> mask
> when converting an IPv4 address to an IPv6 notation:
> 
> correct (NetAddr-IP-4.033):
>   $ perl -le 'use NetAddr::IP; print NetAddr::IP->new6("127.0.0.0/8")'
>   0:0:0:0:0:0:7F00:0/104
> 
> wrong (NetAddr-IP-4.034):
>   $ perl -le 'use NetAddr::IP; print NetAddr::IP->new6("127.0.0.0/8")'
>   0:0:0:0:0:0:7F00:0/8

Mmmh.

In fact it seems they bobbed few lines from 4.033...

You sure new6 may be used with IPv4 address, huh?

If you confirm this, I can take care of reporting the bug to upstream.

Giampaolo


> Mark

Reply via email to