send_packet

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

View File

@ -465,7 +465,8 @@ int send_packet(char *packet_buff, int16_t length, struct sockaddr_in6 *dest, in
// Vectorized buffer // Vectorized buffer
struct iovec vec_buff[1]; 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; int error_while_sending = 0;

BIN
src/node.o Normal file

Binary file not shown.

BIN
src/parser.o Normal file

Binary file not shown.

BIN
src/tlv.o Normal file

Binary file not shown.