Commit afdc3e1b authored by Matthieu Boutier's avatar 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.
parent d05ec6bf
......@@ -496,9 +496,6 @@ prefix_cmp(const unsigned char *p1, unsigned char plen1,
int plen = MIN(plen1, plen2);
if(v4mapped(p1) != v4mapped(p2))
if(memcmp(p1, p2, plen / 8) != 0)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment