From: Remi Gacogne Date: Mon, 1 Jul 2019 16:08:04 +0000 (+0200) Subject: rec: Compare PacketID's sockets and IDs before DNSNames X-Git-Tag: dnsdist-1.4.0-rc1~71^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec3f366df73eee1b32016f7d3614ec74579cd721;p=thirdparty%2Fpdns.git rec: Compare PacketID's sockets and IDs before DNSNames --- diff --git a/pdns/syncres.hh b/pdns/syncres.hh index bbe35beef9..06626f710c 100644 --- a/pdns/syncres.hh +++ b/pdns/syncres.hh @@ -922,7 +922,7 @@ struct PacketID if( tie(remote, ourSock, type) > tie(b.remote, bSock, b.type)) return false; - return tie(domain, fd, id) < tie(b.domain, b.fd, b.id); + return tie(fd, id, domain) < tie(b.fd, b.id, b.domain); } };