]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
add comment about is-response checking for DDNS
authorBob Halley <halley@dnspython.org>
Fri, 19 Jun 2020 18:15:06 +0000 (11:15 -0700)
committerBob Halley <halley@dnspython.org>
Fri, 19 Jun 2020 18:15:06 +0000 (11:15 -0700)
dns/message.py

index 85788d84faad0f6e5c67b11443493315ee0c7db9..c5fc3ac8d59ebe212ed97ffa303e5a402092c70d 100644 (file)
@@ -239,6 +239,10 @@ class Message:
                 dns.rcode.NOERROR:
             return True
         if dns.opcode.is_update(self.flags):
+            # This is assuming the "sender doesn't include anything
+            # from the update", but we don't care to check the other
+            # case, which is that all the sections are returned and
+            # identical.
             return True
         for n in self.question:
             if n not in other.question: