Try a different MTU

This commit is contained in:
Kevin Lange 2016-09-10 21:01:43 +09:00
parent caef2a0d27
commit 6e9753513c

View File

@ -545,7 +545,7 @@ static int net_send_tcp(struct socket *socket, uint16_t flags, uint8_t * payload
tcp->seq_number = htonl(socket->proto_sock.tcp_socket.seq_no);
tcp->ack_number = flags & (TCP_FLAGS_ACK) ? htonl(socket->proto_sock.tcp_socket.ack_no) : 0;
tcp->flags = htons(0x5000 ^ (flags & 0xFF));
tcp->window_size = htons(1800);
tcp->window_size = htons(1548-54);
tcp->checksum = 0; // Fill in later
tcp->urgent = 0;