https://issues.apache.org/SpamAssassin/show_bug.cgi?id=4964





--- Comment #15 from Justin Mason <[EMAIL PROTECTED]>  2008-03-10 17:14:50 PST 
---
Created an attachment (id=4269)
 --> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4269)
first draft, tests failing

looking into this.  Here's a first draft which adds ipv6 support using Net::IP.
however, these tests don't yet pass:

+ok (tryone ("127.0.0.1", "::ffff:127.0.0.0/24"));
+ok (tryone ("127.0.0.1", "::ffff:127.0.0.1"));
+ok (tryone ("127.0.0.1", "::ffff:7f00:0001"));

it appears Net::IP doesn't support recognition of the equivalency/containment
of IPv4 addresses in IPv6 specifications.  not great :(

judging by classes in the SPF distro, NetAddr::IP doesn't either, so that won't
be much help.


-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to