wg: do not use addrconfig with port in gai
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
6d20c647d0
commit
d42dd68add
|
@ -66,7 +66,7 @@ static inline uint16_t parse_port(const char *value)
|
|||
.ai_family = AF_UNSPEC,
|
||||
.ai_socktype = SOCK_DGRAM,
|
||||
.ai_protocol = IPPROTO_UDP,
|
||||
.ai_flags = AI_ADDRCONFIG | AI_PASSIVE
|
||||
.ai_flags = AI_PASSIVE
|
||||
};
|
||||
|
||||
if (!strlen(value)) {
|
||||
|
|
Loading…
Reference in New Issue