mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-27 07:59:41 +08:00
fail portmapping if name can not be resolved
This commit is contained in:
1 parent
624c3e6ae1
commit
01ec2f12d5
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -38,7 +38,7 @@ void * udppmchild(struct clientparam* param) {
|
||||
struct pollfd fds[256];
|
||||
|
||||
|
||||
if(!param->hostname)parsehostname((char *)param->srv->target, param, ntohs(param->srv->targetport));
|
||||
if(!param->hostname && parsehostname((char *)param->srv->target, param, ntohs(param->srv->targetport))) RETURN(100);
|
||||
if (SAISNULL(¶m->req)) {
|
||||
param->srv->fds.events = POLLIN;
|
||||
RETURN (100);
|
||||
|
||||
Reference in new issue
Block a user