]> git.ipfire.org Git - thirdparty/bind9.git/commit
Don't open route socket if we don't need it
authorOndřej Surý <ondrej@isc.org>
Tue, 2 Jul 2024 07:22:54 +0000 (09:22 +0200)
committerOndřej Surý <ondrej@isc.org>
Mon, 5 Aug 2024 10:17:08 +0000 (10:17 +0000)
commit36265057f9e3399eaf3f1e255f017f86afd0cebd
tree42b577f43bdd433d9cf59138faa4d2de7f218fcf
parent9cd2880a82f627bc44ab65fdaa19c2bcd9e61c96
Don't open route socket if we don't need it

When automatic-interface-scan is disabled, the route socket was still
being opened.  Add new API to connect / disconnect from the route socket
only as needed.

Additionally, move the block that disables periodic interface rescans to
a place where it actually have access to the configuration values.
Previously, the values were being checked before the configuration was
loaded.

(cherry picked from commit b26079fdaff782ee5d43639d7caa99f1e2c37399)
bin/delv/delv.c
bin/named/server.c
lib/ns/include/ns/interfacemgr.h
lib/ns/interfacemgr.c
tests/libtest/ns.c