mirror of
https://github.com/hufrea/byedpi.git
synced 2025-03-14 04:48:53 +03:00
Fix padding size
This commit is contained in:
parent
cd0b7b14ed
commit
d922bb0590
1 changed files with 1 additions and 1 deletions
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…
Add table
Reference in a new issue