diff options
Diffstat (limited to 'src/serv.c')
-rw-r--r-- | src/serv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serv.c b/src/serv.c index af0c8d4342..4673e2582f 100644 --- a/src/serv.c +++ b/src/serv.c @@ -517,7 +517,7 @@ listen_socket (const char *name, int listen_port) snprintf (portname, sizeof (portname), "%d", listen_port); memset (&hints, 0, sizeof (hints)); hints.ai_socktype = SOCK_STREAM; - hints.ai_flags = AI_PASSIVE | AI_NUMERICSERV; + hints.ai_flags = AI_PASSIVE; if ((s = getaddrinfo (NULL, portname, &hints, &res)) != 0) { |