]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix wrong variable in named_server_sync() log message 12156/head
authorMichal Nowak <mnowak@isc.org>
Mon, 25 May 2026 06:52:31 +0000 (06:52 +0000)
committerMichal Nowak <mnowak@isc.org>
Mon, 1 Jun 2026 15:43:58 +0000 (17:43 +0200)
commit84f5610d4f1a5e8a3a4adbb1a9c5aa73f9a4db03
treec8d303392bee17952a037dd7f4db680b3a996818
parent1ad556d99d865a72b038b1d3dbc99a9d41f855bd
Fix wrong variable in named_server_sync() log message

named_server_sync() logged isc_result_totext(result) but returns
tresult. The loop accumulates errors into tresult, so result only
holds the last iteration's value. If the last view succeeded but an
earlier one failed, the log would incorrectly say "success".

Assisted-by: Claude:claude-opus-4-7
(cherry picked from commit 1b984b1f116134d8a93c5327217487928f6d324f)
bin/named/server.c