]> git.ipfire.org Git - thirdparty/bind9.git/commit
Refactor fctx_getaddresses() into couple smaller functions
authorOndřej Surý <ondrej@isc.org>
Wed, 19 Nov 2025 07:57:09 +0000 (08:57 +0100)
committerOndřej Surý <ondrej@isc.org>
Thu, 20 Nov 2025 12:32:17 +0000 (13:32 +0100)
commitd51effdb48228f7a4cc41345d72a3b039639ef7c
tree78dac79ffe9198eb0ae2ef3d0446882420d6c743
parent1b90d2ffdb331dea82786c9c67d42da1879b98d8
Refactor fctx_getaddresses() into couple smaller functions

The fctx_getaddresses() was lengthy and little bit confusing with
goto statements.  Split the single function into smaller parts:
one for forwarders, one for nameservers and one for alternates.
lib/dns/resolver.c