]> git.puffer.fish Git - mirror/frr.git/commit
lib: replace deprecated ares_gethostbyname 15837/head
authorAndrew Cooks <acooks.at.bda@gmail.com>
Thu, 25 Apr 2024 07:18:39 +0000 (17:18 +1000)
committerAndrew Cooks <acooks.at.bda@gmail.com>
Thu, 25 Apr 2024 20:28:44 +0000 (06:28 +1000)
commit89a2e4d8257a91d115fa29e02261c33312da5cba
treee4cdc5240de146cc95e7febcf3294fb85f94a928
parent4540fa0a3e702f577d378b3fa1f5f26591a0a5ad
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>
lib/resolver.c