mirror of https://github.com/getdnsapi/getdns.git
set_listen_addresses does not change listen_list
This commit is contained in:
parent
b98d91f745
commit
a523838cc6
|
@ -739,7 +739,8 @@ static getdns_return_t add_listeners(listen_set *set)
|
||||||
}
|
}
|
||||||
|
|
||||||
getdns_return_t getdns_context_set_listen_addresses(getdns_context *context,
|
getdns_return_t getdns_context_set_listen_addresses(getdns_context *context,
|
||||||
getdns_request_handler_t request_handler, getdns_list *listen_addresses)
|
getdns_request_handler_t request_handler,
|
||||||
|
const getdns_list *listen_addresses)
|
||||||
{
|
{
|
||||||
static const getdns_transport_list_t listen_transports[]
|
static const getdns_transport_list_t listen_transports[]
|
||||||
= { GETDNS_TRANSPORT_UDP, GETDNS_TRANSPORT_TCP };
|
= { GETDNS_TRANSPORT_UDP, GETDNS_TRANSPORT_TCP };
|
||||||
|
|
|
@ -35,8 +35,9 @@ typedef void (*getdns_request_handler_t)(
|
||||||
getdns_transaction_t request_id
|
getdns_transaction_t request_id
|
||||||
);
|
);
|
||||||
|
|
||||||
getdns_return_t getdns_context_set_listen_addresses(getdns_context *context,
|
getdns_return_t getdns_context_set_listen_addresses(
|
||||||
getdns_request_handler_t request_handler, getdns_list *listen_addresses);
|
getdns_context *context, getdns_request_handler_t request_handler,
|
||||||
|
const getdns_list *listen_addresses);
|
||||||
|
|
||||||
getdns_return_t getdns_reply(getdns_context *context,
|
getdns_return_t getdns_reply(getdns_context *context,
|
||||||
getdns_transaction_t request_id, getdns_dict *reply);
|
getdns_transaction_t request_id, getdns_dict *reply);
|
||||||
|
|
Loading…
Reference in New Issue