send_packet

This commit is contained in:
gonzalef committed 2020-04-28 19:05:10 +02:00
1 parent 897550a0ac
commit 61041efd02
4 files changed
+2 -1

No files matched your search

+2 -1
View File
@@ -465,7 +465,8 @@ int send_packet(char *packet_buff, int16_t length, struct sockaddr_in6 *dest, in
// Vectorized buffer
struct iovec vec_buff[1];
vec_buff[0] = {.iov_len = length + 4, .iov_base = packet_buff};
vec_buff[0].iov_len = length + 4;
vec_buff[0].iov_base = packet_buff;
int error_while_sending = 0;
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.