diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-03-28 10:46:31 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-03-28 10:46:31 +0200 |
commit | 2a22cec86e83f6530c0da56eeb2d3be3be3f4708 (patch) | |
tree | af32477012a184f9e18a843dec4937576dabdfe8 /src/tools | |
parent | main: add /sys/module/wireguard/version (diff) | |
download | wireguard-monolithic-historical-2a22cec86e83f6530c0da56eeb2d3be3be3f4708.tar.xz wireguard-monolithic-historical-2a22cec86e83f6530c0da56eeb2d3be3be3f4708.zip |
tools: do not use addrconfig with port in gai
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/config.c b/src/tools/config.c index 20bd22a..e95626c 100644 --- a/src/tools/config.c +++ b/src/tools/config.c @@ -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)) { |