mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-27 07:59:41 +08:00
Support IPv6 for parent proxy
Parent proxy can be on IPv6 network (except SOCKS4).
This commit is contained in:
1 parent
d2437975b7
commit
8a6632f0d1
7 files changed
+58
-54
No files matched your search
+1
-1
@@ -40,7 +40,7 @@ void * udppmchild(struct clientparam* param) {
|
||||
|
||||
|
||||
if(!param->hostname)parsehostname((char *)param->srv->target, param, ntohs(param->srv->targetport));
|
||||
if (!memcmp(SAADDR(¶m->req), "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", SAADDRLEN(¶m->req))) {
|
||||
if (SAISNULL(¶m->req)) {
|
||||
param->srv->fds.events = POLLIN;
|
||||
RETURN (100);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user