Skip to content

Commit 3d5f0f3

Browse files
landrybsreimers
authored andcommitted
ice: AI_V4MAPPED doesn't exist on OpenBSD (#989)
1 parent 1fe415f commit 3d5f0f3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ice/icesdp.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,11 @@ static int getaddr_rcand(void *arg)
209209
{
210210
struct rcand *rcand = arg;
211211
struct addrinfo *res, *res0 = NULL;
212+
#ifndef OPENBSD
212213
struct addrinfo hints = {.ai_flags = AI_V4MAPPED | AI_ADDRCONFIG,
214+
#else
215+
struct addrinfo hints = {.ai_flags = AI_ADDRCONFIG,
216+
#endif
213217
.ai_family = rcand->ai_family};
214218
int err;
215219

0 commit comments

Comments
 (0)