]> git.puffer.fish Git - matthieu/frr.git/commit
lib: replace deprecated ares_gethostbyname
authorAndrew Cooks <acooks.at.bda@gmail.com>
Thu, 25 Apr 2024 07:18:39 +0000 (17:18 +1000)
committerDavid Lamparter <equinox@opensourcerouting.org>
Sun, 5 May 2024 17:21:07 +0000 (19:21 +0200)
commit97dcc1d90de4fb0dc7c349b34eac272891af9e87
treedc3a1f056d5e71790b4d160b744b4be12b8ed7ed
parent08100348ee712d87191e92143ad94a4f4d1d41ab
lib: replace deprecated ares_gethostbyname

c-ares has deprecated ares_gethostbyname() in version 1.28.0
Replace it with ares_getaddrinfo().

This fixes a build error on Fedora 40.

Signed-off-by: Andrew Cooks <acooks.at.bda@gmail.com>
(cherry picked from commit 89a2e4d8257a91d115fa29e02261c33312da5cba)
[equi: thread/event rename conflict fixed]
lib/resolver.c