mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
IPv6 bugfixes
This commit is contained in:
1 parent
db5c4b1255
commit
f70e4adf47
6 files changed
+7
-6
No files matched your search
@@ -268,6 +268,7 @@ int handleredirect(struct clientparam * param, struct ace * acentry){
|
||||
}
|
||||
else if(!cur->redirport && cur->redirip) {
|
||||
unsigned short port = *SAPORT(¶m->sinsl);
|
||||
memset(¶m->sinsl, 0, sizeof(param->sinsl));
|
||||
*SAFAMILY(¶m->sinsl) = AF_INET;
|
||||
*(unsigned long *)SAADDR(¶m->sinsl) = cur->redirip;
|
||||
*SAPORT(¶m->sinsl) = port;
|
||||
|
||||
Reference in new issue
Block a user