From: Remi Gacogne Date: Wed, 9 May 2018 08:28:04 +0000 (+0200) Subject: rec: Use canonical ordering in the ECS index X-Git-Tag: rec-4.1.3~7^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F6586%2Fhead;p=thirdparty%2Fpdns.git 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. --- 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;