mirror of
https://repo.or.cz/socat.git
synced 2025-07-16 08:03:24 +00:00
Mechanism for ai-* options; new option ai-addrconfig
This commit is contained in:
parent
8b2e0593f3
commit
4e00a345b4
28 changed files with 492 additions and 285 deletions
2
sycls.c
2
sycls.c
|
@ -1445,7 +1445,7 @@ struct hostent *Gethostbyname(const char *name) {
|
|||
int Getaddrinfo(const char *node, const char *service,
|
||||
const struct addrinfo *hints, struct addrinfo **res) {
|
||||
int result;
|
||||
Debug15("getaddrinfo(%s%s%s, %s%s%s, {%d,%d,%d,%d,"F_socklen",%p,%p,%p}, %p)",
|
||||
Debug15("getaddrinfo(%s%s%s, %s%s%s, {0x%02x,%d,%d,%d,"F_socklen",%p,%p,%p}, %p)",
|
||||
node?"\"":"", node?node:"NULL", node?"\"":"",
|
||||
service?"\"":"", service?service:"NULL", service?"\"":"",
|
||||
hints->ai_flags, hints->ai_family, hints->ai_socktype,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue