mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
dns.c: Load IPv6 DNS resolvers if configured.
IPv6 nameserver addresses are stored in different part of the __res_state structure, so look there if we appear to have support for it. ASTERISK-28004 #close Change-Id: I67067077d8a406ee996664518d9c8fbf11f6977d
This commit is contained in:
committed by
Kevin Harwell
parent
de19836c24
commit
689c703b2c
@@ -1466,7 +1466,8 @@ AC_LINK_IFELSE(
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_DEFINE([HAVE_RES_CLOSE], 1, [Define to 1 if your system has the close resolver function.]),
|
||||
AC_MSG_RESULT(no)
|
||||
),
|
||||
)
|
||||
AC_CHECK_MEMBERS([struct __res_state._u._ext.nsaddrs], [], [], [[#include <resolv.h>]]),
|
||||
AC_MSG_RESULT(no)
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user