]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
To match incoming, don't look at subnet
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 17 Jan 2025 10:49:21 +0000 (11:49 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 28 May 2025 09:26:59 +0000 (11:26 +0200)
pdns/recursordist/syncres.hh

index c02228f2433a222b533edccb25beaf1288173629..8fbc29b66de5a8c59879c46250a95bf4da9cefab 100644 (file)
@@ -821,10 +821,10 @@ struct PacketIDCompare
 {
   bool operator()(const std::shared_ptr<PacketID>& lhs, const std::shared_ptr<PacketID>& rhs) const
   {
-    if (std::tie(lhs->remote, lhs->tcpsock, lhs->type, lhs->ecsSubnet) < std::tie(rhs->remote, rhs->tcpsock, rhs->type, rhs->ecsSubnet)) {
+    if (std::tie(lhs->remote, lhs->tcpsock, lhs->type) < std::tie(rhs->remote, rhs->tcpsock, rhs->type)) {
       return true;
     }
-    if (std::tie(lhs->remote, lhs->tcpsock, lhs->type, lhs->ecsSubnet) > std::tie(rhs->remote, rhs->tcpsock, rhs->type, rhs->ecsSubnet)) {
+    if (std::tie(lhs->remote, lhs->tcpsock, lhs->type) > std::tie(rhs->remote, rhs->tcpsock, rhs->type)) {
       return false;
     }