From 3b6ae02d52368afbc66c5d3b0de95cb4805151cd Mon Sep 17 00:00:00 2001 From: Richard Nyberg Date: Thu, 29 Jan 2009 16:42:07 +0100 Subject: [PATCH] Remove unneeded addrinfo flag which doesn't exist on MacOS. --- btpd/net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btpd/net.c b/btpd/net.c index 2208223..b6f5135 100644 --- a/btpd/net.c +++ b/btpd/net.c @@ -692,7 +692,7 @@ net_init(void) char portstr[6]; struct addrinfo hints, *res, *ai; bzero(&hints, sizeof(hints)); - hints.ai_flags = AI_ADDRCONFIG | AI_PASSIVE | AI_NUMERICSERV; + hints.ai_flags = AI_ADDRCONFIG | AI_PASSIVE; hints.ai_family = net_af_spec(); hints.ai_socktype = SOCK_STREAM; snprintf(portstr, sizeof(portstr), "%hd", net_port);