From cee53c2e058ef469ad418ad5fc6f0252291e4a30 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Wed, 9 May 2018 10:28:04 +0200 Subject: [PATCH] rec: Use canonical ordering in the ECS index The recursor's ECS index used the `DNSName`'s case insensitive reverse lexicographical ordering (default) instead of the canonical ordering one. While quite faster, it isn't exactly right. --- pdns/recursor_cache.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pdns/recursor_cache.hh b/pdns/recursor_cache.hh index 9f53ca5724..2e40d4b8a0 100644 --- a/pdns/recursor_cache.hh +++ b/pdns/recursor_cache.hh @@ -167,7 +167,8 @@ private: ECSIndexEntry, member, member - > + >, + composite_key_compare > > > > ecsIndex_t; -- 2.47.2