1
0
mirror of https://github.com/rofl0r/proxychains-ng synced 2025-01-04 19:22:52 +08:00

proxy_getaddrinfo(): debug: print hints->ai_flags

This commit is contained in:
rofl0r 2021-02-05 01:50:39 +00:00
parent 181cc0f414
commit 918855deed

View File

@ -964,9 +964,10 @@ int proxy_getaddrinfo(const char *node, const char *service, const struct addrin
struct addrinfo *p;
char buf[1024];
int port, af = AF_INET;
PFUNC();
// printf("proxy_getaddrinfo node %s service %s\n",node,service);
PDEBUG("proxy_getaddrinfo node:%s service: %s, flags: %d\n",
node?node:"",service?service:"",hints?(int)hints->ai_flags:0);
space = calloc(1, sizeof(struct addrinfo_data));
if(!space) goto err1;