> I amended the relay plugin with the IPv6 code shown in the prior email,
> that provides nibble boundary matching.
There are still problems. This Net::IP::ip_expand_address function does
not seem to work properly with CIDR specification. 2001:db8:123::/64
is returned as "2001:0db8:1234::000
> It will return for the given example '2001:db8:123/44' which as I
> understands is the correct meaning of '2001:db8:123' when we split
> at nibble endings.
Oh, well, it isn't. It should be expanded to 2001:db8:1230::/24.
Add the four marked lines:
# Get the length of the last segment
my $l
Masks are already being handled properly by the other method. Wouldn't it be
better to just skip CIDR processing entirely when we detect a mask?
Matt
On Nov 15, 2012, at 4:43 AM, Michael Holzt wrote:
>> It will return for the given example '2001:db8:123/44' which as I
>> understands is the co