]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Cleanup setting netmgr ports from isc_managers_create()
authorOndřej Surý <ondrej@isc.org>
Fri, 20 Feb 2026 15:37:44 +0000 (16:37 +0100)
committerOndřej Surý <ondrej@isc.org>
Fri, 20 Feb 2026 15:37:44 +0000 (16:37 +0100)
This is now duplicate as the default ports are already set in
isc_netmgr_create().

lib/isc/managers.c

index 5c73a7ef4c0bdb10e9b901c511c76af27e3241fc..a01a8bac7dc7a794674648e0122fc47e751b2e75 100644 (file)
 
 void
 isc_managers_create(uint32_t workers) {
-       in_port_t port_low, port_high;
-
        isc_loopmgr_create(isc_g_mctx, workers);
        isc_netmgr_create(isc_g_mctx);
        isc_rwlock_setworkers(workers);
-
-       isc_net_getportrange(AF_INET, &port_low, &port_high);
-       isc_netmgr_portrange(AF_INET, port_low, port_high);
-
-       isc_net_getportrange(AF_INET6, &port_low, &port_high);
-       isc_netmgr_portrange(AF_INET6, port_low, port_high);
 }
 
 void