tpws: deny connections to 0.0.0.0

This commit is contained in:
bol-van
2022-04-21 13:41:43 +03:00
parent dd1ba8218d
commit a15de18b33
13 changed files with 4 additions and 3 deletions

View File

@@ -842,7 +842,7 @@ static bool handle_proxy_mode(tproxy_conn_t *conn, struct tailhead *conn_list)
}
if (params.debug>=2)
{
printf("socks5 hostname resolved to : \n");
printf("socks5 hostname resolved to :\n");
print_addrinfo(ai);
}
memcpy(&ss,ai->ai_addr,ai->ai_addrlen);