mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
fixed parent IPv6 connect proxy
This commit is contained in:
1 parent
9dda666d8d
commit
7f90b6eae2
1 file changed
+1
-1
+1
-1
@@ -50,7 +50,7 @@ int clientnegotiate(struct chain * redir, struct clientparam * param, struct soc
|
||||
}
|
||||
else {
|
||||
if(*SAFAMILY(addr) == AF_INET6) buf[len++] = '[';
|
||||
len += myinet_ntop(AF_INET, SAADDR(addr), (char *)buf+len, 256);
|
||||
len += myinet_ntop(*SAFAMILY(addr), SAADDR(addr), (char *)buf+len, 256);
|
||||
if(*SAFAMILY(addr) == AF_INET6) buf[len++] = ']';
|
||||
}
|
||||
len += sprintf((char *)buf + len,
|
||||
|
||||
Reference in new issue
Block a user