]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Account for changes to struct dns_rbtnode
authorMichał Kępień <michal@isc.org>
Thu, 7 Mar 2024 08:42:38 +0000 (09:42 +0100)
committerMichał Kępień <michal@isc.org>
Thu, 7 Mar 2024 08:57:48 +0000 (09:57 +0100)
Commit eba7fb5f9f4925bbfd0d85847117847586b1ee9e modified the definition
of struct dns_rbtnode.  Doing that changes the layout of map-format zone
files.  Bump MAPAPI and update the offsets used in map-format zone file
checks in the "masterformat" system test, as these changes were
inadvertently omitted from the aforementioned change.

(cherry picked from commit 52fe0b6be7cb99f2e13462ef86a31cc74185162d)

bin/tests/system/masterformat/tests.sh
lib/dns/mapapi

index e83f551f6115e6c390f96f713f023f71a771e260..3a4eb3e1160760c0be4ae063a7c0ed907fa9bf30 100755 (executable)
@@ -293,7 +293,7 @@ status=$((status + ret))
 echo_i "checking corrupt map files fail to load (bad node header) ($n)"
 ret=0
 cp map.5 badmap
-stomp badmap 3706 2 99
+stomp badmap 3578 2 99
 $CHECKZONE -D -f map -F text -o text.5 example.nil badmap >/dev/null
 [ $? = 1 ] || ret=1
 n=$((n + 1))
@@ -303,7 +303,7 @@ status=$((status + ret))
 echo_i "checking corrupt map files fail to load (bad node data) ($n)"
 ret=0
 cp map.5 badmap
-stomp badmap 3137 5 127
+stomp badmap 3057 5 127
 $CHECKZONE -D -f map -F text -o text.5 example.nil badmap >/dev/null
 [ $? = 1 ] || ret=1
 n=$((n + 1))
index a46e1909370ca2de5a33c7e6c3dc48a67ccd9fb0..cdc11d13ae1001a22a723e57fda1db731c5ff35f 100644 (file)
@@ -13,4 +13,4 @@
 # Whenever releasing a new major release of BIND9, set this value
 # back to 1.0 when releasing the first alpha.  Map files are *never*
 # compatible across major releases.
-MAPAPI=4.0
+MAPAPI=5.0