mirror of
https://github.com/3proxy/3proxy.git
synced 2026-10-25 01:21:58 +00:00
Do not fail for zero address on SOCKSv5 BIND/UDPASSOC
This commit is contained in:
parent
b513584fdb
commit
a44a32c484
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue