Commit afdc3e1b by Matthieu Boutier Committed by Juliusz Chroboczek

Revert "Fix bug allowing the comparison of v4 and v6 prefixes."

That patch was fixing a little bug, but makes another bigger one.
The previous patch fixes both.

This reverts commit e687a58f.
1 parent d05ec6bf
Showing 1 changed file with 0 additions and 3 deletions
......@@ -496,9 +496,6 @@ prefix_cmp(const unsigned char *p1, unsigned char plen1,
{
int plen = MIN(plen1, plen2);
if(v4mapped(p1) != v4mapped(p2))
return PST_DISJOINT;
if(memcmp(p1, p2, plen / 8) != 0)
return PST_DISJOINT;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!