mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-23 18:45: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
|
||||
}
|
||||
#endif
|
||||
if(SAISNULL(¶m->req)) {
|
||||
if(command == 1 && SAISNULL(¶m->req)) {
|
||||
RETURN(431);
|
||||
}
|
||||
myinet_ntop(*SAFAMILY(¶m->sinsr), SAADDR(¶m->sinsr), (char *)buf, 64);
|
||||
|
Loading…
Reference in New Issue
Block a user