Issue 52 in netaddr: ipv6 cidr matches incorrectly match ipv4

7 views
Skip to first unread message

codesite...@google.com

unread,
Feb 15, 2010, 9:38:31 PM2/15/10
to net...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 52 by nick.pappas: ipv6 cidr matches incorrectly match ipv4
http://code.google.com/p/netaddr/issues/detail?id=52

>>> import netaddr
>>> netaddr.all_matching_cidrs('24.22.23.123', ['::1/96'])
[IPNetwork('::1/96')]


I'm pretty sure that shouldn't match... is there any reason why a ipv4
address should be tried against an ipv6 cidr in the list?

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Feb 15, 2010, 9:42:33 PM2/15/10
to net...@googlegroups.com

Comment #1 on issue 52 by nick.pappas: ipv6 cidr matches incorrectly match
ipv4
http://code.google.com/p/netaddr/issues/detail?id=52

pardon the typo in the title.

codesite...@google.com

unread,
Feb 16, 2010, 4:56:23 AM2/16/10
to net...@googlegroups.com
Updates:
Status: Accepted

Comment #2 on issue 52 by drkjam: ipv6 cidr matches incorrectly match ipv4
http://code.google.com/p/netaddr/issues/detail?id=52

No, it's a bug. I'll take a look.

codesite...@google.com

unread,
Apr 28, 2010, 6:17:56 PM4/28/10
to net...@googlegroups.com
Updates:
Status: Fixed

Comment #3 on issue 52 by drkjam: ipv6 cidr matches incorrectly match ipv4
http://code.google.com/p/netaddr/issues/detail?id=52

This issue was closed by revision r346.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups "netaddr" group.
To post to this group, send email to net...@googlegroups.com.
To unsubscribe from this group, send email to netaddr+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/netaddr?hl=en.

Reply all
Reply to author
Forward
0 new messages