]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
regression-tests.auth-py/clientsubnetoption.py: fix equality operator
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 7 Feb 2023 14:21:09 +0000 (15:21 +0100)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 11 Jan 2024 10:57:41 +0000 (11:57 +0100)
regression-tests.auth-py/clientsubnetoption.py

index 5da748ab0b0901758a0a5bb4349f75955599d229..ca956fa747d4f043c349acfb13ace4aadf7201c7 100644 (file)
@@ -231,6 +231,8 @@ class ClientSubnetOption(dns.edns.Option):
             return False
         if self.mask != other.mask:
             return False
+        if self.scope != other.scope:
+            return False
         if self.family != other.family:
             return False
         return True