]> git.ipfire.org Git - thirdparty/bind9.git/commit
remove need_hints parameters to configure_view
authorColin Vidal <colin@isc.org>
Mon, 17 Nov 2025 14:23:58 +0000 (15:23 +0100)
committerColin Vidal <colin@isc.org>
Tue, 18 Nov 2025 09:08:42 +0000 (10:08 +0100)
commit6b5f714e53857195f404b11ab27f60febe825fd0
tree8fad198a9babf33769197db8b59ce5383a9ea7b1
parent9027889bc810e4ae16e2e9098f79fdc386047002
remove need_hints parameters to configure_view

The `configure_view()` `need_hints` is removed as it this function was
always called with the value `true`.

The `need_hints` wasn't even used in the function. The only thing it was
actually used was to throw a warning which can be done simply in an
`else` condition branch.

Moreoever, in the case of catalog zones and response-policy, it fixes a
possible bug that would affect root zones, as those wouldn't be reverted
back to their previous version in case of the view fails to load
(during a server reconfiguration).
bin/named/server.c