]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix FallbackTooManyRecordsAxfrHandler to follow convention
authorŠtěpán Balážik <stepan@isc.org>
Mon, 19 Jan 2026 20:49:36 +0000 (21:49 +0100)
committerŠtěpán Balážik (GitLab job 7223886) <stepan@isc.org>
Fri, 17 Apr 2026 14:26:42 +0000 (14:26 +0000)
All the other subclasses AxfrHandler send three messages.
This oversight was inherited from the original Perl implementation of
the server and was not fixed in 46ecbbe where it was rewritten.

This allows refactoring and sharing of the superclass.

(cherry picked from commit 93a807948902eca1add65bc7bd57a445e1ab75f7)

bin/tests/system/ixfr/ans2/ans.py

index 5c9268a193f0db2dfb4fdab7f83ac12adc02096f..b6a052646901dc2284fee706704a3418f274782d 100644 (file)
@@ -196,8 +196,8 @@ class TooManyRecordsIxfrHandler(IxfrHandler):
 
 class FallbackTooManyRecordsAxfrHandler(AxfrHandler):
     answers = (
+        (soa(3),),
         (
-            soa(3),
             ns(),
             txt("fallback AXFR on too many records"),
         ),