mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
intip changed to intsa
intip changed to intsa for IPv6 use
This commit is contained in:
1 parent
cce3a94f04
commit
bc7ca3af09
9 files changed
+35
-19
No files matched your search
+1
-1
@@ -178,7 +178,7 @@ fflush(stderr);
|
||||
param->clisock = so._socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
|
||||
if(param->clisock == INVALID_SOCKET) {RETURN(11);}
|
||||
sin.sin_family = AF_INET;
|
||||
sin.sin_addr.s_addr = param->srv->intip;
|
||||
sin.sin_addr.s_addr = ((struct sockaddr_in *)¶m->srv->intsa)->sin_addr.s_addr;
|
||||
sin.sin_port = htons(0);
|
||||
if(so._bind(param->clisock,(struct sockaddr *)&sin,sizeof(struct sockaddr_in))) {RETURN (12);}
|
||||
#if SOCKSTRACE > 0
|
||||
|
||||
Reference in new issue
Block a user