From 95e42c87e39a5c12c53300b683a590cf4c3caad5 Mon Sep 17 00:00:00 2001 From: Otto Date: Wed, 6 Oct 2021 10:37:28 +0200 Subject: [PATCH] Minimal backport of #10632: match ordering of PacketID using the Birtdah vs non-Birtday comparator --- pdns/syncres.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/syncres.hh b/pdns/syncres.hh index f10c82de25..56f4bb07d6 100644 --- a/pdns/syncres.hh +++ b/pdns/syncres.hh @@ -974,7 +974,7 @@ struct PacketID if( tie(remote, ourSock, type) > tie(b.remote, bSock, b.type)) return false; - return tie(fd, id, domain) < tie(b.fd, b.id, b.domain); + return tie(domain, fd, id) < tie(b.domain, b.fd, b.id); } }; -- 2.47.2