commit 0fc6b0cccdcd3055e10aaea7469c740cbf021d84
Author:     Hiltjo Posthuma <[email protected]>
AuthorDate: Sat Jul 22 12:30:35 2017 +0200
Commit:     Laslo Hunhold <[email protected]>
CommitDate: Sat Jul 22 13:23:10 2017 +0200

    don't allow named service->port translation
    
    this will also mess up the redirect (to a named service otherwise).

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;
 

Reply via email to