mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-24 02:55:40 +08:00
Do not fail for zero address on SOCKSv5 BIND/UDPASSOC
This commit is contained in:
parent
b513584fdb
commit
a44a32c484
@ -120,7 +120,7 @@ void * sockschild(struct clientparam* param) {
|
|||||||
#ifndef NOIPV6
|
#ifndef NOIPV6
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if(SAISNULL(¶m->req)) {
|
if(command == 1 && SAISNULL(¶m->req)) {
|
||||||
RETURN(431);
|
RETURN(431);
|
||||||
}
|
}
|
||||||
myinet_ntop(*SAFAMILY(¶m->sinsr), SAADDR(¶m->sinsr), (char *)buf, 64);
|
myinet_ntop(*SAFAMILY(¶m->sinsr), SAADDR(¶m->sinsr), (char *)buf, 64);
|
||||||
|
Loading…
Reference in New Issue
Block a user