From d922bb05901b9619a83aee784ca4cb0dd916dd47 Mon Sep 17 00:00:00 2001 From: ruti <> Date: Fri, 7 Jul 2023 15:38:53 +0200 Subject: [PATCH] Fix padding size --- proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy.c b/proxy.c index faf99d3..e11f107 100644 --- a/proxy.c +++ b/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,