mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 10:39:59 -04:00
use .s_addr to handle potential union in struct in_addr
This commit is contained in:
parent
6bd1e6de94
commit
1092d8e25a
1 changed files with 1 additions and 1 deletions
|
|
@ -2066,7 +2066,7 @@ doh_path_validation(void **state) {
|
|||
|
||||
static void
|
||||
doh_connect_makeuri(void **state) {
|
||||
struct in_addr localhostv4 = { ntohl(INADDR_LOOPBACK) };
|
||||
struct in_addr localhostv4 = { .s_addr = ntohl(INADDR_LOOPBACK) };
|
||||
isc_sockaddr_t sa;
|
||||
char uri[256];
|
||||
UNUSED(state);
|
||||
|
|
|
|||
Loading…
Reference in a new issue