mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-23 18:45:40 +08:00
UDP portmap doesn't resolve hostname in UDP packet
This commit is contained in:
parent
22ac04576f
commit
dc55d2b724
@ -376,7 +376,7 @@ fflush(stderr);
|
||||
buf[i] = buf[i+1];
|
||||
}
|
||||
buf[i++] = 0;
|
||||
if(!getip46(param->srv->family, buf, (struct sockaddr *) ¶m->sinsr)) RETURN(100);
|
||||
if(!getip46(param->srv->family, buf+4, (struct sockaddr *) ¶m->sinsr)) RETURN(100);
|
||||
break;
|
||||
default:
|
||||
RETURN(997);
|
||||
|
Loading…
Reference in New Issue
Block a user