From 0fc6b0cccdcd3055e10aaea7469c740cbf021d84 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sat, 22 Jul 2017 12:30:35 +0200 Subject: [PATCH] don't allow named service->port translation this will also mess up the redirect (to a named service otherwise). --- quark.c | 1 + 1 file changed, 1 insertion(+) diff --git a/quark.c b/quark.c index 6d3fcb5..fd5f36b 100644 --- a/quark.c +++ b/quark.c @@ -852,6 +852,7 @@ getipsock(void) int ret, insock = 0, yes; memset(&hints, 0, sizeof(hints)); + hints.ai_flags = AI_NUMERICSERV; hints.ai_family = AF_UNSPEC; hints.ai_socktype = SOCK_STREAM;