better closing TCP sequence; removed some debug logs

This commit is contained in:
cozis
2023-05-21 13:29:58 +02:00
parent a272e8601e
commit 96ca7ae2c9
4 changed files with 153 additions and 50 deletions
-1
View File
@@ -249,7 +249,6 @@ static void mac_resolved(void *data, arp_resolution_status_t status, mac_address
ethernet_frame_t *frame = (ethernet_frame_t*) buffer->data;
frame->dst = mac;
MICROTCP_DEBUG_LOG("sending %d", buffer->used);
int n = mtcp->callbacks.send(mtcp->callbacks.data, buffer->data, buffer->used);
if (n < 0)
MICROTCP_DEBUG_LOG("Couldn't send (%s)", strerror(errno));