mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
Drop unused portlist code
This commit is contained in:
@@ -34,7 +34,6 @@
|
||||
#include <dns/events.h>
|
||||
#include <dns/log.h>
|
||||
#include <dns/message.h>
|
||||
#include <dns/portlist.h>
|
||||
#include <dns/stats.h>
|
||||
#include <dns/tcpmsg.h>
|
||||
#include <dns/types.h>
|
||||
@@ -61,7 +60,6 @@ struct dns_dispatchmgr {
|
||||
unsigned int magic;
|
||||
isc_mem_t *mctx;
|
||||
dns_acl_t *blackhole;
|
||||
dns_portlist_t *portlist;
|
||||
isc_stats_t *stats;
|
||||
|
||||
/* Locked by "lock". */
|
||||
@@ -1901,22 +1899,6 @@ dns_dispatchmgr_getblackhole(dns_dispatchmgr_t *mgr) {
|
||||
return (mgr->blackhole);
|
||||
}
|
||||
|
||||
void
|
||||
dns_dispatchmgr_setblackportlist(dns_dispatchmgr_t *mgr,
|
||||
dns_portlist_t *portlist) {
|
||||
REQUIRE(VALID_DISPATCHMGR(mgr));
|
||||
UNUSED(portlist);
|
||||
|
||||
/* This function is deprecated: use dns_dispatchmgr_setavailports(). */
|
||||
return;
|
||||
}
|
||||
|
||||
dns_portlist_t *
|
||||
dns_dispatchmgr_getblackportlist(dns_dispatchmgr_t *mgr) {
|
||||
REQUIRE(VALID_DISPATCHMGR(mgr));
|
||||
return (NULL); /* this function is deprecated */
|
||||
}
|
||||
|
||||
isc_result_t
|
||||
dns_dispatchmgr_setavailports(dns_dispatchmgr_t *mgr, isc_portset_t *v4portset,
|
||||
isc_portset_t *v6portset) {
|
||||
|
Reference in New Issue
Block a user