mirror of
https://github.com/hufrea/byedpi.git
synced 2024-11-20 12:25:05 +00:00
Fix padding size
This commit is contained in:
parent
cd0b7b14ed
commit
d922bb0590
2
proxy.c
2
proxy.c
@ -616,7 +616,7 @@ static inline int on_tunnel(struct poolhd *pool, struct eval *val,
|
||||
int on_udp_tunnel(struct eval *val, char *buffer, size_t bfsize)
|
||||
{
|
||||
struct sockaddr_ina addr;
|
||||
int skip = S_SIZE_I4, offs;
|
||||
int skip = S_SIZE_I6, offs;
|
||||
do {
|
||||
socklen_t asz = sizeof(addr);
|
||||
ssize_t n = recvfrom(val->fd, buffer + skip,
|
||||
|
Loading…
Reference in New Issue
Block a user