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
@@ -206,7 +206,6 @@ int ip_send_2(ip_state_t *state, ip_protocol_t protocol, ip_address_t dst,
packet->checksum = calculate_checksum_ip((uint16_t*) packet, 4 * header_length);
// Sending updates the [state->output_ptr] and [state->output_len]
IP_DEBUG_LOG("sending %d", sizeof(ip_packet_t) + considered_payload);
state->send(state->send_data, dst, sizeof(ip_packet_t) + considered_payload);
managed_payload += considered_payload;