mirror of
https://github.com/apache/nuttx.git
synced 2025-12-19 01:29:44 +08:00
Networking: Fixes an important TCP bug: 16-bit flags was being converted to 8-bits in a few locations, causing loss of status indications
This commit is contained in:
@@ -103,8 +103,8 @@ static void tcp_input(FAR struct net_driver_s *dev, unsigned int iplen)
|
||||
unsigned int hdrlen;
|
||||
uint16_t tmp16;
|
||||
uint16_t flags;
|
||||
uint16_t result;
|
||||
uint8_t opt;
|
||||
uint8_t result;
|
||||
int len;
|
||||
int i;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user