mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 18:13:28 +00:00
lib: replace deprecated ares_process()
ares_process(...) has been deprecated. Replace it with ares_process_fd(...) Signed-off-by: Andrew Cooks <acooks.at.bda@gmail.com>
This commit is contained in:
parent
3bb7b49791
commit
4540fa0a3e
@ -104,7 +104,7 @@ static void resolver_cb_timeout(struct event *t)
|
||||
{
|
||||
struct resolver_state *r = EVENT_ARG(t);
|
||||
|
||||
ares_process(r->channel, NULL, NULL);
|
||||
ares_process_fd(r->channel, ARES_SOCKET_BAD, ARES_SOCKET_BAD);
|
||||
resolver_update_timeouts(r);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user