aboutgitcodebugslistschat
path: root/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'udp.c')
-rw-r--r--udp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/udp.c b/udp.c
index 9feaa2b..fa40cd3 100644
--- a/udp.c
+++ b/udp.c
@@ -858,6 +858,8 @@ void udp_sock_handler(struct ctx *c, union epoll_ref ref, uint32_t events,
cur_mh->msg_iov = &cur_mh->msg_iov[i];
sendmsg(c->fd_tap, cur_mh, MSG_NOSIGNAL);
+
+ *iov_base -= first_offset;
break;
}
}