[Babel-users] [PATCH 3/3] Revert "Fix bug allowing the comparison of v4 and v6 prefixes."
Matthieu Boutier
boutier at pps.univ-paris-diderot.fr
Mon May 2 08:56:35 UTC 2016
That patch was fixing a little bug, but makes another bigger one.
The previous patch fixes both.
This reverts commit e687a58f01f2f1bcc344d8f9bacdfa5954dcae69.
---
util.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/util.c b/util.c
index 1c15dbf..37b16ff 100644
--- a/util.c
+++ b/util.c
@@ -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;
--
2.8.0.rc3
More information about the Babel-users
mailing list