don't allow named service->port translation
this will also mess up the redirect (to a named service otherwise).
This commit is contained in:
parent
4f2cc50416
commit
0fc6b0cccd
1 changed files with 1 additions and 0 deletions
1
quark.c
1
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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue