Skip to content

Commit

Permalink
ice: AI_V4MAPPED doesn't exist on OpenBSD (#989)
Browse files Browse the repository at this point in the history
  • Loading branch information
landryb authored and sreimers committed Nov 3, 2023
1 parent 1fe415f commit 3d5f0f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ice/icesdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,11 @@ static int getaddr_rcand(void *arg)
{
struct rcand *rcand = arg;
struct addrinfo *res, *res0 = NULL;
#ifndef OPENBSD
struct addrinfo hints = {.ai_flags = AI_V4MAPPED | AI_ADDRCONFIG,
#else
struct addrinfo hints = {.ai_flags = AI_ADDRCONFIG,
#endif
.ai_family = rcand->ai_family};
int err;

Expand Down

0 comments on commit 3d5f0f3

Please sign in to comment.